✨ Wallet stats
This commit is contained in:
@@ -130,6 +130,12 @@ public class WalletController(AppDatabase db, WalletService ws, PaymentService p
|
|||||||
var transactions = await query
|
var transactions = await query
|
||||||
.Skip(offset)
|
.Skip(offset)
|
||||||
.Take(take)
|
.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();
|
.ToListAsync();
|
||||||
|
|
||||||
return Ok(transactions);
|
return Ok(transactions);
|
||||||
|
Reference in New Issue
Block a user