From 37621f85481dde36db7c2ee76fcd57acd73ae142 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Mon, 30 Jun 2025 17:39:18 +0200 Subject: [PATCH] typo --- src/updater.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/updater.js b/src/updater.js index b14b3bd48..88184f919 100644 --- a/src/updater.js +++ b/src/updater.js @@ -254,7 +254,7 @@ async function notifyBoxUpdate() { } else { await eventlog.add(eventlog.ACTION_UPDATE_FINISH, AuditSource.CRON, { errorMessage: '', oldVersion: version || 'dev', newVersion: constants.VERSION }); await notifications.unpin(notifications.TYPE_BOX_UPDATE, { context: constants.VERSION }); - const [error] = await safe(tasks.setCompletedByType(tasks.TASK_UPDATE, { error: null })); + const [error] = await safe(tasks.setCompletedByType(tasks.TASK_BOX_UPDATE, { error: null })); if (error && error.reason !== BoxError.NOT_FOUND) throw error; // when hotfixing, task may not exist }