#APNS provider - wrong env check?

1 messages · Page 1 of 1 (latest)

dense ibex
#

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.

waxen drumBOT
#

Thanks for posting, one of the <@&949961460384157746> or <@&986960430528331776> will address the matter as soon as possible 🙇‍♂️

crystal matrix
#

I think you're right, it should be prod
Good finding 👏🏻

late garden
#

@dense ibex could you please open an issue so we can make sure it is taken care of? thanks

dense ibex