mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
Make DELETE a write method in Zotero.HTTP.isWriteMethod()
This commit is contained in:
parent
8bbde63284
commit
98cd96eb01
1 changed files with 1 additions and 1 deletions
|
|
@ -737,7 +737,7 @@ Zotero.HTTP = new function() {
|
|||
|
||||
|
||||
this.isWriteMethod = function (method) {
|
||||
return method == 'POST' || method == 'PUT' || method == 'PATCH';
|
||||
return method == 'POST' || method == 'PUT' || method == 'PATCH' || method == 'DELETE';
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue