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 User3y ago
Message Not Public
Sign In & Join Server To View
BiswaViraj
BiswaViraj3y ago
I think you're right, it should be prod Good finding 👏🏻
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
serafeimo
serafeimoOP3y 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
empe3y ago
Thank you!!!

Did you find this page helpful?