[SKIP CI] chore: fix error message of LFSPointerFiles (#12961)

The LFSPointerFiles Endpoint returned an error message from a different endpoint.

Co-authored-by: Panagiotis "Ivory" Vasilopoulos <git@n0toose.net>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/12961
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
klMse
2026-06-08 00:04:42 +02:00
committed by Gusted
co-authored by Panagiotis Ivory Vasilopoulos
parent f46a6b80f5
commit 743fa9d188
+1 -1
View File
@@ -430,7 +430,7 @@ func LFSFileFind(ctx *context.Context) {
// LFSPointerFiles will search the repository for pointer files and report which are missing LFS files in the content store
func LFSPointerFiles(ctx *context.Context) {
if !setting.LFS.StartServer {
ctx.NotFound("LFSFileGet", nil)
ctx.NotFound("LFSPointerFiles", nil)
return
}
ctx.Data["PageIsSettingsLFS"] = true