diff --git a/server/server/tasks/check/update.ts b/server/server/tasks/check/update.ts index c0e5ec9b..4823f741 100644 --- a/server/server/tasks/check/update.ts +++ b/server/server/tasks/check/update.ts @@ -95,12 +95,12 @@ export default defineTask({ // check if is newer version if (semver.gt(latestVer, currVer)) { console.log("[Task check:update]: Update available"); - notificationSystem.pushAllAdmins({ + notificationSystem.systemPush({ nonce: `drop-update-available-${currVer}-to-${latestVer}`, title: `Update available to v${latestVer}`, description: `A new version of Drop is available v${latestVer}`, actions: [`View|${body.html_url}`], - requiredPerms: [""], + acls: ["system:notifications:read"], }); } else { console.log("[Task check:update]: no update available");