diff options
Diffstat (limited to 'routers/api/v1/misc/label_templates.go')
-rw-r--r-- | routers/api/v1/misc/label_templates.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/misc/label_templates.go b/routers/api/v1/misc/label_templates.go index f105b4c684..95c156c4ab 100644 --- a/routers/api/v1/misc/label_templates.go +++ b/routers/api/v1/misc/label_templates.go @@ -52,7 +52,7 @@ func GetLabelTemplate(ctx *context.APIContext) { labels, err := repo_module.LoadTemplateLabelsByDisplayName(name) if err != nil { - ctx.NotFound() + ctx.APIErrorNotFound() return } |