Skip to content

Commit 6dc54d8

Browse files
fix a few more build errors
1 parent c0bfd22 commit 6dc54d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/api/v1/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ func repoAssignment() func(ctx *context.APIContext) {
228228
}
229229
}
230230

231-
if !ctx.Repo.Permission.HasAnyUnitAccessOrPublicAccess() {
231+
if !ctx.Repo.Permission.HasAnyUnitAccessOrEveryoneAccess() {
232232
ctx.APIErrorNotFound()
233233
return
234234
}

0 commit comments

Comments
 (0)