Pushy didn't notice the .env

This commit is contained in:
Korbs 2023-07-11 00:11:55 -04:00
parent 1f019784e8
commit 2ec3897f5f
No known key found for this signature in database

View file

@ -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)})}
}
}