diff --git a/chrome/content/zotero/xpcom/sync/syncLocal.js b/chrome/content/zotero/xpcom/sync/syncLocal.js index 21057c8f2e..ee1f16b3e2 100644 --- a/chrome/content/zotero/xpcom/sync/syncLocal.js +++ b/chrome/content/zotero/xpcom/sync/syncLocal.js @@ -98,7 +98,7 @@ Zotero.Sync.Data.Local = { } else { Zotero.debug("Replacing API key"); - await Services.logins.modifyLoginAsync(oldLoginInfo, loginInfo); + Services.logins.modifyLogin(oldLoginInfo, loginInfo); } Zotero.Notifier.trigger('modify', 'api-key', []); },