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

fix build error caused by changed function name

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 2025-08-13 02:29:59 -04:00
parent 2066f91862
commit ca07e052c1
No known key found for this signature in database
GPG Key ID: 924A5F6AF051E87C

View File

@ -428,7 +428,7 @@ func repoAssignment(ctx *Context, repo *repo_model.Repository) {
}
}
if !ctx.Repo.Permission.HasAnyUnitAccessOrPublicAccess() && !canWriteAsMaintainer(ctx) {
if !ctx.Repo.Permission.HasAnyUnitAccessOrEveryoneAccess() && !canWriteAsMaintainer(ctx) {
if ctx.FormString("go-get") == "1" {
EarlyResponseForGoGetMeta(ctx)
return