✨ Wallet stats
This commit is contained in:
@@ -130,6 +130,12 @@ public class WalletController(AppDatabase db, WalletService ws, PaymentService p
|
||||
var transactions = await query
|
||||
.Skip(offset)
|
||||
.Take(take)
|
||||
.Include(t => t.PayerWallet)
|
||||
.ThenInclude(w => w.Account)
|
||||
.ThenInclude(w => w.Profile)
|
||||
.Include(t => t.PayeeWallet)
|
||||
.ThenInclude(w => w.Account)
|
||||
.ThenInclude(w => w.Profile)
|
||||
.ToListAsync();
|
||||
|
||||
return Ok(transactions);
|
||||
|
Reference in New Issue
Block a user