From 51c9834c763b1cbd3f443db1c980eda54c106e87 Mon Sep 17 00:00:00 2001 From: "cyril.tsui" Date: Thu, 25 Apr 2024 21:00:23 +0800 Subject: [PATCH] URL --- src/components/CreateInvoice/CreateInvoice.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CreateInvoice/CreateInvoice.tsx b/src/components/CreateInvoice/CreateInvoice.tsx index dfbcf84..94f176b 100644 --- a/src/components/CreateInvoice/CreateInvoice.tsx +++ b/src/components/CreateInvoice/CreateInvoice.tsx @@ -118,7 +118,7 @@ const CreateInvoice: React.FC = ({ try { // Make an API request to generate the JasperReport - const response = await fetch(`https://tsms-uat.2fi-solutions.com/api/invoices/pdf`, { + const response = await fetch(`https://tsms-uat.2fi-solutions.com/invoices/pdf`, { method: 'POST', headers: { 'Content-Type': 'application/json',