mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 06:21:44 +01:00
parent
c4d2ece9c7
commit
565dbd88ff
1 changed files with 1 additions and 1 deletions
|
@ -99,9 +99,9 @@ namespace BTCPayServer.Controllers
|
|||
Skip = skip,
|
||||
Count = count,
|
||||
Items = _db.Notifications
|
||||
.Where(a => a.ApplicationUserId == userId)
|
||||
.OrderByDescending(a => a.Created)
|
||||
.Skip(skip).Take(count)
|
||||
.Where(a => a.ApplicationUserId == userId)
|
||||
.Select(a => _notificationManager.ToViewModel(a))
|
||||
.ToList(),
|
||||
Total = _db.Notifications.Count(a => a.ApplicationUserId == userId)
|
||||
|
|
Loading…
Add table
Reference in a new issue