Skip to content

Commit ca4eb94

Browse files
fix build error caused by changed function name
1 parent 2d2d4ba commit ca4eb94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/context/repo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ func repoAssignment(ctx *Context, repo *repo_model.Repository) {
387387
}
388388
}
389389

390-
if !ctx.Repo.Permission.HasAnyUnitAccessOrPublicAccess() && !canWriteAsMaintainer(ctx) {
390+
if !ctx.Repo.Permission.HasAnyUnitAccessOrEveryoneAccess() && !canWriteAsMaintainer(ctx) {
391391
if ctx.FormString("go-get") == "1" {
392392
EarlyResponseForGoGetMeta(ctx)
393393
return

0 commit comments

Comments
 (0)