fix: change tour message

This commit is contained in:
RaktimaNXG
2024-04-10 18:47:08 +05:30
parent 05fe68d458
commit f5f18f1630
7 changed files with 41 additions and 34 deletions
@@ -24,6 +24,7 @@ export default async function getInvoices(request) {
invoiceCls.skip(skip);
invoiceCls.descending('createdAt');
const invoices = await invoiceCls.find({ useMasterKey: true });
console.log('invoices', invoices);
if (invoices?.length > 0) {
const _invoices = JSON.parse(JSON.stringify(invoices));
return { status: 'success', result: _invoices };