Skip to content

Commit

Permalink
Fix bug by axios security update (#1583)
Browse files Browse the repository at this point in the history
  • Loading branch information
J535D165 committed Nov 15, 2023
1 parent a6a50a4 commit 679cc32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asreview/webapp/src/api/ProjectAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ class ProjectAPI {
url: url,
data: {},
withCredentials: true,
headers: { "Content-Type": "multipart/form-data" },
// headers: { "Content-Type": "multipart/form-data" },
})
.then((result) => {
resolve(result["data"]);
Expand Down Expand Up @@ -542,7 +542,7 @@ class ProjectAPI {
method: variables.initial ? "post" : "put",
url: url,
data: body,
headers: { "Content-Type": "application/json" },
// headers: { "Content-Type": "application/json" },
withCredentials: true,
})
.then((result) => {
Expand Down

0 comments on commit 679cc32

Please sign in to comment.