From 59f7f2fc0320b18d084208ddede8752b87418c5a Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Tue, 1 Jul 2025 11:03:33 -0400 Subject: [PATCH] Migrate Promise#delay() in schema.js --- chrome/content/zotero/xpcom/schema.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js index ef0a7f62bc..4808b9d8a2 100644 --- a/chrome/content/zotero/xpcom/schema.js +++ b/chrome/content/zotero/xpcom/schema.js @@ -940,7 +940,8 @@ Zotero.Schema = new function () { _localUpdateInProgress = true; try { - await Zotero.proxyAuthComplete.delay(1000); + await Zotero.proxyAuthComplete; + await Zotero.Promise.delay(1000); Zotero.debug("Updating bundled " + (mode || "files"));