aboutsummaryrefslogtreecommitdiffstats
path: root/services/org
diff options
context:
space:
mode:
authorTheFox0x7 <thefox0x7@gmail.com>2025-03-08 22:12:46 +0100
committerGitHub <noreply@github.com>2025-03-08 13:12:46 -0800
commit4c4c56c7cde2316709b478a187a2c97c2f417ccf (patch)
treea22d2358848913c784357d1338afe7035db7c618 /services/org
parent4ed71eb7543b471030af77f362326bd745a39fb4 (diff)
downloadgitea-4c4c56c7cde2316709b478a187a2c97c2f417ccf.tar.gz
gitea-4c4c56c7cde2316709b478a187a2c97c2f417ccf.zip
Decouple context from repository related structs (#33823)
Calls that required context implicitly are made to pass it as argument
Diffstat (limited to 'services/org')
-rw-r--r--services/org/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/org/user.go b/services/org/user.go
index 0e74d006bb..3565ecc2fc 100644
--- a/services/org/user.go
+++ b/services/org/user.go
@@ -64,7 +64,7 @@ func RemoveOrgUser(ctx context.Context, org *organization.Organization, user *us
if err != nil {
return fmt.Errorf("AccessibleReposEnv: %w", err)
}
- repoIDs, err := env.RepoIDs(1, org.NumRepos)
+ repoIDs, err := env.RepoIDs(ctx, 1, org.NumRepos)
if err != nil {
return fmt.Errorf("GetUserRepositories [%d]: %w", user.ID, err)
}