We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d4240d8 + fe79a2f commit 92a0882Copy full SHA for 92a0882
src/web-push-lib.js
@@ -32,7 +32,7 @@ WebPushLib.prototype.setGCMAPIKey = function(apiKey) {
32
33
if (typeof apiKey === 'undefined' || typeof apiKey !== 'string' ||
34
apiKey.length === 0) {
35
- throw new Error('The GCM API Key should be a non-emtpy string or null.');
+ throw new Error('The GCM API Key should be a non-empty string or null.');
36
}
37
38
gcmAPIKey = apiKey;
0 commit comments