aboutsummaryrefslogtreecommitdiffstats
path: root/commands/bug/bug_new.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/bug/bug_new.go')
-rw-r--r--commands/bug/bug_new.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/bug/bug_new.go b/commands/bug/bug_new.go
index 4f73a09c..fbfb9def 100644
--- a/commands/bug/bug_new.go
+++ b/commands/bug/bug_new.go
@@ -63,7 +63,7 @@ func runBugNew(env *execenv.Env, opts bugNewOptions) error {
}
}
- b, _, err := env.Backend.NewBug(
+ b, _, err := env.Backend.Bugs().New(
text.CleanupOneLine(opts.title),
text.Cleanup(opts.message),
)