Use app name for subscription
This commit is contained in:
parent
5ff2b02d48
commit
e828ee7d93
1 changed files with 1 additions and 1 deletions
|
@ -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)})}
|
||||
}
|
||||
}
|
Reference in a new issue