From 2ec3897f5fe439b1c26045c370764bb612ae4845 Mon Sep 17 00:00:00 2001 From: Korbs Date: Tue, 11 Jul 2023 00:11:55 -0400 Subject: [PATCH] Pushy didn't notice the .env --- electron/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron/notifications.js b/electron/notifications.js index 89e20c7..30fc0d9 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(process.env.Name).then(() => {}).catch((error) => {console.error(error)})} + if (Pushy.isRegistered()) {Pushy.subscribe('AppName').then(() => {}).catch((error) => {console.error(error)})} } } \ No newline at end of file