feat: response more field
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 9s
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 9s
This commit is contained in:
parent
b190f93ec3
commit
0eed3c55f6
1 changed files with 2 additions and 0 deletions
|
|
@ -69,6 +69,7 @@ export class StatsController extends Controller {
|
||||||
paymentStatus: true,
|
paymentStatus: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
amount: true,
|
||||||
createdAt: true,
|
createdAt: true,
|
||||||
},
|
},
|
||||||
where: {
|
where: {
|
||||||
|
|
@ -86,6 +87,7 @@ export class StatsController extends Controller {
|
||||||
document: "invoice",
|
document: "invoice",
|
||||||
code: v.code,
|
code: v.code,
|
||||||
status: v.payment?.paymentStatus,
|
status: v.payment?.paymentStatus,
|
||||||
|
amount: v.amount,
|
||||||
createdAt: v.createdAt,
|
createdAt: v.createdAt,
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue