From 2733b1395354a43e86107f8810390e19d99b8b81 Mon Sep 17 00:00:00 2001 From: taro Date: Fri, 21 Mar 2025 00:03:36 -0300 Subject: [PATCH] refactor: URLSearchParams -> JSON --- src/stores/tpv.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stores/tpv.js b/src/stores/tpv.js index bcb1fe7b..7cefe96e 100644 --- a/src/stores/tpv.js +++ b/src/stores/tpv.js @@ -12,10 +12,10 @@ export const tpvStore = defineStore('tpv', { if (!(order && status)) return null; - await api.post('applications/myTpvTransaction_end/execute-proc', new URLSearchParams({ + await api.post('applications/myTpvTransaction_end/execute-proc', { schema: 'hedera', - params: `[${order}, ${status}]`, - }).toString()); + params: [order, status], + }); if (status === 'ko') { const retry = confirm('retryPayQuestion');