mirror of
https://github.com/go-gitea/gitea
synced 2025-09-28 03:28:13 +00:00
Remove incorrect "db.DefaultContext" usages (#35366)
This commit is contained in:
@@ -119,7 +119,7 @@ func doCheckOrgCounts(username string, orgCounts map[string]int, strict bool, ca
|
||||
Name: username,
|
||||
})
|
||||
|
||||
orgs, err := db.Find[organization.Organization](db.DefaultContext, organization.FindOrgOptions{
|
||||
orgs, err := db.Find[organization.Organization](t.Context(), organization.FindOrgOptions{
|
||||
UserID: user.ID,
|
||||
IncludeVisibility: api.VisibleTypePrivate,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user