Skip to content

Commit

Permalink
Merge pull request #22 from charlesdaniel/master
Browse files Browse the repository at this point in the history
Adding "auth=" prefix to the captureToken (while removing any that may exist)
  • Loading branch information
SpeCT committed Oct 27, 2012
2 parents 268c1af + 21a042a commit 5547218
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/c2dm.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ util.inherits(C2DM, emitter);
exports.C2DM = C2DM;

C2DM.prototype.captureToken = function(err, token) {
token = 'auth=' + token.replace(/Auth=/i,'');
this.token = token;
};

Expand Down

0 comments on commit 5547218

Please # to comment.