diff --git a/src/components/CreateInvoice/CreateInvoice.tsx b/src/components/CreateInvoice/CreateInvoice.tsx index 676a708..dfbcf84 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(`${BASE_API_URL}/invoices/pdf`, { + const response = await fetch(`https://tsms-uat.2fi-solutions.com/api/invoices/pdf`, { method: 'POST', headers: { 'Content-Type': 'application/json',