fix: return the full response

This commit is contained in:
Derrick Hammer 2024-03-13 14:58:30 -04:00
parent bc3550ab4b
commit 9a9283cc8a
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ export const customInstance = <T>(
...config,
...options,
cancelToken: source.token,
}).then(({ data }) => data);
});
// @ts-ignore
promise.cancel = () => {