From 440b65935eb4873e10187d703f8a9407bef5f0c7 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 13 Mar 2020 22:05:53 -0400 Subject: [PATCH] Fix breakage in 067980973 --- chrome/content/zotero/xpcom/schema.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js index 1bd99b0e26..9d5d683ebc 100644 --- a/chrome/content/zotero/xpcom/schema.js +++ b/chrome/content/zotero/xpcom/schema.js @@ -1910,7 +1910,7 @@ Zotero.Schema = new function(){ Zotero.logError(e); // Clear flag on failure, to avoid showing an error on every startup if someone // doesn't know how to deal with it - await setIntegrityCheckRequired(false); + yield setIntegrityCheckRequired(false); } } @@ -1919,7 +1919,7 @@ Zotero.Schema = new function(){ // Clear flag on success if (fix) { - await setIntegrityCheckRequired(false); + yield setIntegrityCheckRequired(false); } return true;