N
Novuβ€’2y ago
serafeimo

APNS provider - wrong env check?

Hi all! In APNS provider there is the following check for prod env. File: /novu/providers/apns/src/lib/apns.provider.ts production: process.env.NODE_ENV === 'production' However, it seems that the actual prod value is prod. Logically, this is an issue if I'm not mistaken.
5 Replies
Unknown User
Unknown Userβ€’2y ago
Message Not Public
Sign In & Join Server To View
BiswaViraj
BiswaVirajβ€’2y ago
I think you're right, it should be prod Good finding πŸ‘πŸ»
Unknown User
Unknown Userβ€’2y ago
Message Not Public
Sign In & Join Server To View
serafeimo
serafeimoOPβ€’2y ago
GitHub
πŸ› Bug Report: APNS environment parameters issue Β· Issue #2346 Β· nov...
πŸ“œ Description In APNS provider there is the following check for prod env parameter. /novu/providers/apns/src/lib/apns.provider.ts production: process.env.NODE_ENV === 'production' H...
empe
empeβ€’2y ago
Thank you!!!
Want results from more Discord servers?
Add your server