This commit is contained in:
Girish Ramakrishnan
2025-06-30 17:39:18 +02:00
parent 8e18a5fb4c
commit 37621f8548
+1 -1
View File
@@ -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
}