Permit /connector/delaySync for the bookmarklet

This commit is contained in:
Adomas Venčkauskas 2018-10-10 12:41:16 +03:00
parent 0bcb037c95
commit c65ca34afe

View file

@ -1058,6 +1058,7 @@ Zotero.Server.Connector.DelaySync = function () {};
Zotero.Server.Endpoints["/connector/delaySync"] = Zotero.Server.Connector.DelaySync;
Zotero.Server.Connector.DelaySync.prototype = {
supportedMethods: ["POST"],
permitBookmarklet: true,
init: async function (requestData) {
Zotero.Sync.Runner.delaySync(10000);