Skip to content

Commit 1bc4ffc

Browse files
yardenshohamyp05327lunny
authored
1 parent 27879bc commit 1bc4ffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: routers/web/repo/http.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ func httpBase(ctx *context.Context) (h *serviceHandler) {
228228
}
229229

230230
if !p.CanAccess(accessMode, unitType) {
231-
ctx.PlainText(http.StatusForbidden, "User permission denied")
231+
ctx.PlainText(http.StatusNotFound, "Repository not found")
232232
return
233233
}
234234
}

0 commit comments

Comments
 (0)