aboutsummaryrefslogtreecommitdiffstats
path: root/services/user/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/user/user.go')
-rw-r--r--services/user/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/user/user.go b/services/user/user.go
index 26dab4e1dd..53cc361107 100644
--- a/services/user/user.go
+++ b/services/user/user.go
@@ -189,7 +189,7 @@ func DeleteUser(ctx context.Context, u *user_model.User, purge bool) error {
// An alternative option here would be write a function which would delete all organizations but it seems
// but such a function would likely get out of date
for {
- orgs, err := organization.FindOrgs(organization.FindOrgOptions{
+ orgs, err := organization.FindOrgs(ctx, organization.FindOrgOptions{
ListOptions: db.ListOptions{
PageSize: repo_model.RepositoryListDefaultPageSize,
Page: 1,