fix: return the full response
This commit is contained in:
parent
bc3550ab4b
commit
9a9283cc8a
|
@ -14,7 +14,7 @@ export const customInstance = <T>(
|
|||
...config,
|
||||
...options,
|
||||
cancelToken: source.token,
|
||||
}).then(({ data }) => data);
|
||||
});
|
||||
|
||||
// @ts-ignore
|
||||
promise.cancel = () => {
|
||||
|
|
Loading…
Reference in New Issue