mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-01 05:22:50 +09:00
Refactor error system (#33610)
This commit is contained in:
@ -52,7 +52,7 @@ func GetLabelTemplate(ctx *context.APIContext) {
|
||||
|
||||
labels, err := repo_module.LoadTemplateLabelsByDisplayName(name)
|
||||
if err != nil {
|
||||
ctx.NotFound()
|
||||
ctx.APIErrorNotFound()
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user