fix: credential sending for file uploads (#5869)

This commit is contained in:
Nikhil 2024-10-21 17:46:46 +05:30 committed by GitHub
parent c940a2921e
commit b745a29454
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -16,6 +16,7 @@ export class FileUploadService extends APIService {
"Content-Type": "multipart/form-data",
},
cancelToken: this.cancelSource.token,
withCredentials: false,
})
.then((response) => response?.data)
.catch((error) => {

View file

@ -16,6 +16,7 @@ export class FileUploadService extends APIService {
"Content-Type": "multipart/form-data",
},
cancelToken: this.cancelSource.token,
withCredentials: false,
})
.then((response) => response?.data)
.catch((error) => {