Skip to content

Commit

Permalink
use POST instead of UPDATE
Browse files Browse the repository at this point in the history
  • Loading branch information
birm committed Apr 3, 2020
1 parent b0509cf commit 2aa0674
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/Store.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ class Store {
'provenance.analysis.setting': JSON.parse(setting),
};
return fetch(url + '?' + objToParamStr(query), {
method: 'UPDATE',
method: 'POST',
body: JSON.stringify(data),
credentials: 'include',
mode: 'cors',
Expand Down Expand Up @@ -398,7 +398,7 @@ class Store {
}

return fetch(url + '?' + objToParamStr(query), {
method: 'UPDATE',
method: 'POST',
body: JSON.stringify({
data: JSON.parse(data),
}),
Expand Down

0 comments on commit 2aa0674

Please sign in to comment.