From 3c6ebc2bfd50b72ff786a2cfd3bbdeb15b478dd3 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 13 Nov 2022 12:31:38 +0100 Subject: core: bubble up the comment ID when created, or edited the first comment --- commands/comment_add.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands') diff --git a/commands/comment_add.go b/commands/comment_add.go index e415763b..acac7994 100644 --- a/commands/comment_add.go +++ b/commands/comment_add.go @@ -69,7 +69,7 @@ func runCommentAdd(env *Env, opts commentAddOptions, args []string) error { } } - _, err = b.AddComment(text.Cleanup(opts.message)) + _, _, err = b.AddComment(text.Cleanup(opts.message)) if err != nil { return err } -- cgit