0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-04 10:05:18 +02:00

fix a few more build errors

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 2025-08-13 03:20:26 -04:00
parent 01f7c9407b
commit 7c2dad2b4c
No known key found for this signature in database
GPG Key ID: 924A5F6AF051E87C

View File

@ -208,7 +208,7 @@ func repoAssignment() func(ctx *context.APIContext) {
}
}
if !ctx.Repo.Permission.HasAnyUnitAccessOrPublicAccess() {
if !ctx.Repo.Permission.HasAnyUnitAccessOrEveryoneAccess() {
ctx.APIErrorNotFound()
return
}