From 69be3af09f521de1ef2166adeabc180fa93a193b Mon Sep 17 00:00:00 2001 From: Huskydog9988 <39809509+Huskydog9988@users.noreply.github.com> Date: Thu, 15 May 2025 13:45:05 -0400 Subject: [PATCH] fix: drop update notifications --- server/server/tasks/check/update.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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");