From dbe1c0acb924b9394b86b7eb01205a4926042dfb Mon Sep 17 00:00:00 2001 From: richardo2016x Date: Fri, 26 Jul 2024 17:19:18 +0800 Subject: [PATCH] fix: fix override. --- src/ui/views/ApprovalManagePage/useApprovalsPage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/views/ApprovalManagePage/useApprovalsPage.ts b/src/ui/views/ApprovalManagePage/useApprovalsPage.ts index c22d5a46949..6138fd08980 100644 --- a/src/ui/views/ApprovalManagePage/useApprovalsPage.ts +++ b/src/ui/views/ApprovalManagePage/useApprovalsPage.ts @@ -312,7 +312,7 @@ export function useApprovalsPage(options?: { isTestnet?: boolean }) { const tokenAuthorizedQueryList = usedChainList.map((e) => async () => { try { - const data = await openapiClient.tokenAuthorizedList(userAddress, e.id); + const data = await openapiClient.tokenAuthorizedList(userAddress, e.id, { restfulPrefix: 'v2' }); if (data.length) { data.forEach((token) => { token.spenders.forEach((spender) => {