From 7c2dad2b4ca6533e204f27e1da77094ea81b9722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Wed, 13 Aug 2025 03:20:26 -0400 Subject: [PATCH] fix a few more build errors --- routers/api/v1/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go index e1d836b5c8..62e99dd6d6 100644 --- a/routers/api/v1/api.go +++ b/routers/api/v1/api.go @@ -208,7 +208,7 @@ func repoAssignment() func(ctx *context.APIContext) { } } - if !ctx.Repo.Permission.HasAnyUnitAccessOrPublicAccess() { + if !ctx.Repo.Permission.HasAnyUnitAccessOrEveryoneAccess() { ctx.APIErrorNotFound() return }