Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

fix: credential sending for file uploads (#5869)

Nikhilb745a29454fb
diff --git a/space/core/services/file-upload.service.ts b/space/core/services/file-upload.service.ts
index efb6cf946f..09e95f3c0f 100644
--- a/space/core/services/file-upload.service.ts
+++ b/space/core/services/file-upload.service.ts
@@ -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) => {
diff --git a/web/core/services/file-upload.service.ts b/web/core/services/file-upload.service.ts
index efb6cf946f..09e95f3c0f 100644
--- a/web/core/services/file-upload.service.ts
+++ b/web/core/services/file-upload.service.ts
@@ -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) => {