www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 53478f4752771a88837b87fad173881f9424f48a
parent 110f637d1e4017f8086b82eddad6a02d75531190
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sun,  1 Nov 2015 13:28:03 -0500

Allow 412 when uploading deletions

Diffstat:
Mchrome/content/zotero/xpcom/sync/syncAPIClient.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/sync/syncAPIClient.js b/chrome/content/zotero/xpcom/sync/syncAPIClient.js @@ -345,7 +345,7 @@ Zotero.Sync.APIClient.prototype = { headers: { "If-Unmodified-Since-Version": libraryVersion }, - successCodes: [204] + successCodes: [204, 412] }); // Avoid logging error from Zotero.HTTP.request() in ConcurrentCaller if (xmlhttp.status == 412) {