[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:
committed by
Gusted
co-authored by
Panagiotis Ivory Vasilopoulos
parent
f46a6b80f5
commit
743fa9d188
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user