Skip to content

Commit 92a0882

Browse files
authored
Merge pull request #260 from corburn/patch-1
fix error message typo
2 parents d4240d8 + fe79a2f commit 92a0882

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
@@ -32,7 +32,7 @@ WebPushLib.prototype.setGCMAPIKey = function(apiKey) {
3232

3333
if (typeof apiKey === 'undefined' || typeof apiKey !== 'string' ||
3434
apiKey.length === 0) {
35-
throw new Error('The GCM API Key should be a non-emtpy string or null.');
35+
throw new Error('The GCM API Key should be a non-empty string or null.');
3636
}
3737

3838
gcmAPIKey = apiKey;

0 commit comments

Comments
 (0)