mirror of
https://github.com/ferdikoomen/openapi-typescript-codegen.git
synced 2025-12-08 20:16:21 +00:00
Merge pull request #2067 from ferdikoomen/2063-update-sendrequest-for-axios-to-align-on-parameter-deprecation-withcredentials
fix: updated axios sendRequest (#2063)
This commit is contained in:
commit
aa5e95c677
@ -16,6 +16,7 @@ export const sendRequest = async <T>(
|
||||
data: body ?? formData,
|
||||
method: options.method,
|
||||
withCredentials: config.WITH_CREDENTIALS,
|
||||
withXSRFToken: config.CREDENTIALS === 'include' ? config.WITH_CREDENTIALS : false,
|
||||
cancelToken: source.token,
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user