From a73abb2e8ff0528e2880dbf92b83583191142211 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Tue, 31 Dec 2024 12:57:12 +0100 Subject: [PATCH] fixtests --- backend/src/routes/invoices.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/routes/invoices.ts b/backend/src/routes/invoices.ts index caac442e..0fa3d3b2 100644 --- a/backend/src/routes/invoices.ts +++ b/backend/src/routes/invoices.ts @@ -16,7 +16,7 @@ invoicesRouter.post('/excel', generateExcelForInvoicesController); invoicesRouter.put('/', updateInvoiceController as any); -invoicesRouter.delete('/', deleteInvoiceController); +invoicesRouter.delete('/', deleteInvoiceController as any); invoicesRouter.get('/xml/:id', getInvoiceXmlController); export default invoicesRouter;