jlcvp / fcm-node

A Node.JS simple interface to Google's Firebase Cloud Messaging (FCM) for Android & iOS & Web Notification and data push
MIT License
125 stars 46 forks source link

ReferenceError: serverKey is not defined #24

Closed autumnli closed 7 years ago

autumnli commented 7 years ago

I just pulled the latest code but found the runtime error below

ReferenceError: serverKey is not defined at new FCM (/node_modules/fcm-node/lib/fcm.js:13:26)

It seems from the last checkin that uses the variable serverKey no longer exist

jlcvp commented 7 years ago

thanks for reporting, it was fixed by the pull request #23