feat: response more field
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 9s

This commit is contained in:
Methapon2001 2025-03-05 14:57:09 +07:00
parent b190f93ec3
commit 0eed3c55f6

View file

@ -69,6 +69,7 @@ export class StatsController extends Controller {
paymentStatus: true,
},
},
amount: true,
createdAt: true,
},
where: {
@ -86,6 +87,7 @@ export class StatsController extends Controller {
document: "invoice",
code: v.code,
status: v.payment?.paymentStatus,
amount: v.amount,
createdAt: v.createdAt,
}));
}