0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-05-15 17:11:10 +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 fb46b59a8e
commit c986da2a46
No known key found for this signature in database
GPG Key ID: 924A5F6AF051E87C

View File

@ -429,7 +429,7 @@ func repoAssignmentLegacy(ctx *Context, data *repoAssignmentPrepareDataStruct) {
} }
} }
if !ctx.Repo.Permission.HasAnyUnitAccessOrPublicAccess() && !canWriteAsMaintainer(ctx) { if !ctx.Repo.Permission.HasAnyUnitAccessOrEveryoneAccess() && !canWriteAsMaintainer(ctx) {
if ctx.FormString("go-get") == "1" { if ctx.FormString("go-get") == "1" {
EarlyResponseForGoGetMeta(ctx) EarlyResponseForGoGetMeta(ctx)
return return