From 4319b8d78e84005c1d3a563c22bf7bf25630715d Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 6 Dec 2024 06:26:22 -0500 Subject: [PATCH] Revert `modifyLoginAsync` to `modifyLogin` --- chrome/content/zotero/xpcom/sync/syncLocal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', []); },