From 3fd7b805494288303a35e79686f18d237407c78e Mon Sep 17 00:00:00 2001 From: Barry Rowe Date: Thu, 24 Apr 2014 16:51:48 -0400 Subject: [PATCH] Updating Sender Constructor documentation The documentation showed using: { key:'my-api-key'} But Sender expects: { apiKey:'my-api-key'} --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 90877ed..c41d1fc 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ sender.setAPIKey('key'); ```javascript var sender = new gcm.Sender({ - key: 'my_api_key' + apiKey: 'my_api_key' }); ```