refactor: URLSearchParams -> JSON
gitea/hedera-web/pipeline/pr-beta This commit looks good
Details
gitea/hedera-web/pipeline/pr-beta This commit looks good
Details
This commit is contained in:
parent
1c3684c8c7
commit
2733b13953
|
@ -12,10 +12,10 @@ export const tpvStore = defineStore('tpv', {
|
||||||
if (!(order && status)) return null;
|
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',
|
schema: 'hedera',
|
||||||
params: `[${order}, ${status}]`,
|
params: [order, status],
|
||||||
}).toString());
|
});
|
||||||
|
|
||||||
if (status === 'ko') {
|
if (status === 'ko') {
|
||||||
const retry = confirm('retryPayQuestion');
|
const retry = confirm('retryPayQuestion');
|
||||||
|
|
Loading…
Reference in New Issue