feat: Implement get invoices API endpoint

This commit is contained in:
Faruk AYDIN
2024-02-25 01:31:36 +01:00
parent 3adf549915
commit 1afd374cf6
4 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
const getInvoicesMock = async (invoices) => {
return {
data: invoices,
meta: {
count: invoices.length,
currentPage: null,
isArray: true,
totalPages: null,
type: 'Object',
},
};
};
export default getInvoicesMock;