mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 09:53:10 +02:00
Use context for RepositoryList.LoadAttributes (#23435)
This commit is contained in:
1 parent
cdc9e91750
commit
d74a7efb60
3 files changed
+5
-9
No files matched your search
@@ -117,7 +117,7 @@ func getNotifications(ctx *context.Context) {
|
||||
return
|
||||
}
|
||||
notifications = notifications.Without(failures)
|
||||
if err := repos.LoadAttributes(); err != nil { // TODO
|
||||
if err := repos.LoadAttributes(ctx); err != nil {
|
||||
ctx.ServerError("LoadAttributes", err)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user