PinchProject / Node-GCMService

Node-GCMService
15 stars 10 forks source link

Documentation says to use key instead of apiKey in Sender constructor #9

Open ffleandro opened 10 years ago

ffleandro commented 10 years ago

Documentation says to use key instead of apiKey in Sender constructor.

Example: Instead of:

var gcmService = new gcm.Sender({
    key: 'GCM_KEY'
});

should be:

var gcmService = new gcm.Sender({
    apiKey: 'GCM_KEY'
});