mirror of
https://github.com/makeplane/plane.git
synced 2026-05-05 15:39:35 -05:00
fix: credential sending for file uploads (#5869)
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user