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
2 changed files with 2 additions and 0 deletions
@@ -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) => {
+1
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) => {