From e828ee7d93db4120b3a7f1a588cbb6896b48f02d Mon Sep 17 00:00:00 2001 From: Korbs Date: Mon, 10 Jul 2023 08:14:33 -0400 Subject: [PATCH] Use app name for subscription --- electron/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron/notifications.js b/electron/notifications.js index 30fc0d9..89e20c7 100644 --- a/electron/notifications.js +++ b/electron/notifications.js @@ -21,6 +21,6 @@ module.exports = { }) }, 5000) // If this is triggered too soon, the notifications won't work. - if (Pushy.isRegistered()) {Pushy.subscribe('AppName').then(() => {}).catch((error) => {console.error(error)})} + if (Pushy.isRegistered()) {Pushy.subscribe(process.env.Name).then(() => {}).catch((error) => {console.error(error)})} } } \ No newline at end of file