diff --git a/shortcuts/label/label.go b/shortcuts/label/label.go index 11e345f..4158ad7 100644 --- a/shortcuts/label/label.go +++ b/shortcuts/label/label.go @@ -106,7 +106,7 @@ func Shortcuts() []*common.Shortcut { } func labelPath(ctx *common.RuntimeContext) string { - return fmt.Sprintf("/v1/%s/%s/labels", ctx.Owner, ctx.Repo) + return fmt.Sprintf("/%s/%s/labels", ctx.Owner, ctx.Repo) } func labelItemPath(ctx *common.RuntimeContext, id string) string {