fixed 支持自定义仓库大小限制,bug

This commit is contained in:
xxq250 2025-04-28 10:47:27 +08:00
parent 89f6f640e1
commit 4c2cc2a658
1 changed files with 0 additions and 10 deletions

View File

@ -172,11 +172,6 @@ func getAssignmentRepo(ctx *context.APIContext, id int64) {
return
}
ctx.Repo.Repository = repo
if !ctx.Repo.HasAccess() {
ctx.NotFound()
return
}
}
func getAssignmentRepoByName(ctx *context.APIContext, ownerName string, repoName string) {
@ -199,11 +194,6 @@ func getAssignmentRepoByName(ctx *context.APIContext, ownerName string, repoName
return
}
ctx.Repo.Repository = repo
if !ctx.Repo.HasAccess() {
ctx.NotFound()
return
}
}
// UpdateDelegateHooks creates all the hooks scripts for the repo