Make DELETE a write method in Zotero.HTTP.isWriteMethod()
This commit is contained in:
parent
8bbde63284
commit
98cd96eb01
|
@ -737,7 +737,7 @@ Zotero.HTTP = new function() {
|
||||||
|
|
||||||
|
|
||||||
this.isWriteMethod = function (method) {
|
this.isWriteMethod = function (method) {
|
||||||
return method == 'POST' || method == 'PUT' || method == 'PATCH';
|
return method == 'POST' || method == 'PUT' || method == 'PATCH' || method == 'DELETE';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user