mirror of
https://github.com/tenrok/axios.git
synced 2026-05-15 11:59:42 +03:00
fix(adapter): pass fetchOptions to fetch function (#6883)
Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
@@ -167,7 +167,7 @@ export default isFetchSupported && (async (config) => {
|
||||
credentials: isCredentialsSupported ? withCredentials : undefined
|
||||
});
|
||||
|
||||
let response = await fetch(request);
|
||||
let response = await fetch(request, fetchOptions);
|
||||
|
||||
const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user