Skip to content

Commit e11b0da

Browse files
[Dashboard] Update transaction status endpoint path (#8166)
1 parent 4c51fe6 commit e11b0da

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/dashboard/src/@/hooks/useEngine.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ export function useEngineTransactions(params: {
387387
placeholderData: keepPreviousData,
388388
queryFn: async () => {
389389
if (id) {
390-
const res = await fetch(`${instanceUrl}transaction/${id}`, {
390+
const res = await fetch(`${instanceUrl}transaction/status/${id}`, {
391391
headers: getEngineRequestHeaders(authToken),
392392
method: "GET",
393393
});
@@ -417,7 +417,6 @@ export function useEngineTransactions(params: {
417417
});
418418

419419
const json = await res.json();
420-
421420
return (json.result as TransactionResponse) || {};
422421
},
423422
queryKey: engineKeys.transactions(instanceUrl, params),

0 commit comments

Comments
 (0)