Allow 412 when uploading deletions

This commit is contained in:
Dan Stillman 2015-11-01 13:28:03 -05:00
parent 110f637d1e
commit 53478f4752

View file

@ -345,7 +345,7 @@ Zotero.Sync.APIClient.prototype = {
headers: { headers: {
"If-Unmodified-Since-Version": libraryVersion "If-Unmodified-Since-Version": libraryVersion
}, },
successCodes: [204] successCodes: [204, 412]
}); });
// Avoid logging error from Zotero.HTTP.request() in ConcurrentCaller // Avoid logging error from Zotero.HTTP.request() in ConcurrentCaller
if (xmlhttp.status == 412) { if (xmlhttp.status == 412) {