mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-23 16:12:34 +02:00
fix: change tour message
This commit is contained in:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user