From 41052cce28b8c615a31291e39af16baaa311d612 Mon Sep 17 00:00:00 2001 From: Jon Date: Fri, 5 Jul 2024 14:05:57 +0200 Subject: [PATCH] refactor: refs #6899 corrected api call --- src/pages/InvoiceOut/InvoiceOutList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/InvoiceOut/InvoiceOutList.vue b/src/pages/InvoiceOut/InvoiceOutList.vue index 074df617f..0f7bb5032 100644 --- a/src/pages/InvoiceOut/InvoiceOutList.vue +++ b/src/pages/InvoiceOut/InvoiceOutList.vue @@ -140,7 +140,7 @@ onUnmounted(() => (stateStore.rightDrawer = false)); function openPdf(id) { try { - openReport(`${MODEL}//${id}/download`); + openReport(`${MODEL}/${id}/download`); } catch (err) { console.error('Error opening PDF', err); }