Skip to content

Commit 96d45c2

Browse files
author
Matt Gaunt
authored
GCM Error no longer undefined
At the moment the error message shows up as undefined (see here for screenshot: #237 (comment))
1 parent 92a0882 commit 96d45c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/web-push-lib.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ WebPushLib.prototype.generateRequestDetails =
197197
if (isGCM) {
198198
if (!currentGCMAPIKey) {
199199
console.warn('Attempt to send push notification to GCM endpoint, ' +
200-
'but no GCM key is defined'.bold.red);
200+
'but no GCM key is defined');
201201
} else {
202202
requestDetails.headers.Authorization = 'key=' + currentGCMAPIKey;
203203
}

0 commit comments

Comments
 (0)