Wallet stats

This commit is contained in:
2025-10-05 00:05:31 +08:00
parent e7aa887715
commit 29c4dcd71c

View File

@@ -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);