mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Changed PUT requests to POST
HTTP spec disallows multipart/form-data requests using PUT method.
This commit is contained in:
@ -131,7 +131,7 @@ App.Presenters.PostEditPresenter = function(
|
||||
return;
|
||||
}
|
||||
|
||||
promise.wait(api.put('/posts/' + post.id, formData))
|
||||
promise.wait(api.post('/posts/' + post.id, formData))
|
||||
.then(function(response) {
|
||||
tagList.refreshTags();
|
||||
if (typeof(updateCallback) !== 'undefined') {
|
||||
|
Reference in New Issue
Block a user