From 74ee9e2c879cc670398cfd4ac8f820d64320d28d Mon Sep 17 00:00:00 2001 From: "MSI\\2Fi" Date: Thu, 25 Apr 2024 21:28:48 +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 94f176b..0ed2dd8 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/invoices/pdf`, { + const response = await fetch(`https://tsms-uat.2fi-solutions.com/back-api/invoices/pdf`, { method: 'POST', headers: { 'Content-Type': 'application/json',