Fix crash

This commit is contained in:
Girish Ramakrishnan
2024-12-11 19:17:44 +01:00
parent 6004cd17bf
commit 8fd9324048

View File

@@ -200,7 +200,7 @@ async function checkDiskSpace() {
const finalMessage = `One or more file systems are running out of space. Please increase the disk size at the earliest.\n\n${markdownMessage}`;
await notifications.pin(notifications.TYPE_DISK_SPACE, 'Server is running out of disk space', finalMessage, {});
} else {
await notifications.unpin(notifications.TYPE_DISK_SPACE);
await notifications.unpin(notifications.TYPE_DISK_SPACE, {});
}
}