From 53478f4752771a88837b87fad173881f9424f48a Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 1 Nov 2015 13:28:03 -0500 Subject: [PATCH] Allow 412 when uploading deletions --- chrome/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 index 6e76106b8..3f8a718a0 100644 --- 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) {