Fix Zotero.Feeds.updateFeeds() resolving too soon

Regression from 4d7a099c32
This commit is contained in:
Dan Stillman 2025-12-29 16:03:46 -05:00
parent fb20db9a58
commit 7316aeb92c

View file

@ -372,7 +372,7 @@ Zotero.Feeds = new function () {
_nextFeedCheck = null;
}
_updating = true;
_updatePromise = new Promise(async (resolve) => {
_updatePromise = await new Promise(async (resolve) => {
try {
let sql = "SELECT libraryID AS id FROM feeds "
+ "WHERE refreshInterval IS NOT NULL "