mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-24 09:59:24 +02:00
Remove incorrect "db.DefaultContext" usages (#35366)
This commit is contained in:
1 parent
7aef7ea2d4
commit
0cbaa0b662
256 files changed
+1951
-2098
No files matched your search
@@ -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