From 72a19cbba153965d5b552dddb978fc655b59425e Mon Sep 17 00:00:00 2001 From: jorgep Date: Fri, 28 Mar 2025 17:11:57 +0100 Subject: [PATCH] refactor: refs #6564 update API call --- src/pages/Ticket/Card/TicketDescriptor.vue | 2 +- src/pages/Ticket/TicketAdvanceFilter.vue | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/Ticket/Card/TicketDescriptor.vue b/src/pages/Ticket/Card/TicketDescriptor.vue index 96920231c..c6c6e6c6b 100644 --- a/src/pages/Ticket/Card/TicketDescriptor.vue +++ b/src/pages/Ticket/Card/TicketDescriptor.vue @@ -46,7 +46,7 @@ async function getClaims() { originalTicket.value = data[0]?.originalTicketFk; } async function getProblems() { - const { data } = await axios.get(`Tickets/${entityId.value}/getTicketProblems`); + const { data } = await axios.get(`Tickets/getTicketProblems`, {params: { ids: [entityId.value] }}); if (!data) return; problems.value = data[0]; } diff --git a/src/pages/Ticket/TicketAdvanceFilter.vue b/src/pages/Ticket/TicketAdvanceFilter.vue index 4e3f72490..a88d06300 100644 --- a/src/pages/Ticket/TicketAdvanceFilter.vue +++ b/src/pages/Ticket/TicketAdvanceFilter.vue @@ -122,7 +122,7 @@ onMounted(async () => await getItemPackingTypes()); @@ -170,7 +170,7 @@ onMounted(async () => await getItemPackingTypes());