Permit /connector/delaySync for the bookmarklet
This commit is contained in:
parent
0bcb037c95
commit
c65ca34afe
1 changed files with 1 additions and 0 deletions
|
@ -1058,6 +1058,7 @@ Zotero.Server.Connector.DelaySync = function () {};
|
||||||
Zotero.Server.Endpoints["/connector/delaySync"] = Zotero.Server.Connector.DelaySync;
|
Zotero.Server.Endpoints["/connector/delaySync"] = Zotero.Server.Connector.DelaySync;
|
||||||
Zotero.Server.Connector.DelaySync.prototype = {
|
Zotero.Server.Connector.DelaySync.prototype = {
|
||||||
supportedMethods: ["POST"],
|
supportedMethods: ["POST"],
|
||||||
|
permitBookmarklet: true,
|
||||||
|
|
||||||
init: async function (requestData) {
|
init: async function (requestData) {
|
||||||
Zotero.Sync.Runner.delaySync(10000);
|
Zotero.Sync.Runner.delaySync(10000);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue