Skip to content

Commit

Permalink
fix: credential sending for file uploads (#5869)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablohashescobar authored Oct 21, 2024
1 parent c940a29 commit b745a29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions space/core/services/file-upload.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
1 change: 1 addition & 0 deletions web/core/services/file-upload.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit b745a29

Please sign in to comment.