summaryrefslogtreecommitdiffstats
path: root/models/organization/org_user.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/organization/org_user.go')
-rw-r--r--models/organization/org_user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/organization/org_user.go b/models/organization/org_user.go
index a7bc8f7d4c..7a5d17a75a 100644
--- a/models/organization/org_user.go
+++ b/models/organization/org_user.go
@@ -118,7 +118,7 @@ func loadOrganizationOwners(ctx context.Context, users user_model.UserList, orgI
And("team_id=?", ownerTeam.ID).
Find(&ownerMaps)
if err != nil {
- return nil, fmt.Errorf("find team users: %v", err)
+ return nil, fmt.Errorf("find team users: %w", err)
}
return ownerMaps, nil
}