yp05327andLunny Xiao authored and GitHub committed 2023-02-26 18:22:42 +08:00
1 parent 357042279b
commit f1bde2fe00
1 file changed
+1 -1
+1 -1
View File
@@ -228,7 +228,7 @@ func httpBase(ctx *context.Context) (h *serviceHandler) {
}
if !p.CanAccess(accessMode, unitType) {
ctx.PlainText(http.StatusForbidden, "User permission denied")
ctx.PlainText(http.StatusNotFound, "Repository not found")
return
}
}