fix: correct label API path to /{owner}/{repo}/labels

This commit is contained in:
ZxR 2026-06-02 11:48:20 +08:00
parent 67f8068e3e
commit e53c92be46
1 changed files with 1 additions and 1 deletions

View File

@ -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 {