From 9a9283cc8ac055cade353ae06c7b9ccc54dfa421 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 13 Mar 2024 14:58:30 -0400 Subject: [PATCH] fix: return the full response --- src/account/axios.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/account/axios.ts b/src/account/axios.ts index 32dcefa..3fe30f0 100644 --- a/src/account/axios.ts +++ b/src/account/axios.ts @@ -14,7 +14,7 @@ export const customInstance = ( ...config, ...options, cancelToken: source.token, - }).then(({ data }) => data); + }); // @ts-ignore promise.cancel = () => {