Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Commit

Permalink
Ensure apiKey is still sent in request body (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
bengourley authored and kattrali committed Jan 23, 2018
1 parent 68d5e1a commit 60bee54
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/notification.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,14 +210,11 @@ Notification.prototype._deliver = function (cb) {
};

Notification.prototype.serializePayload = function() {
var apiKey = this.apiKey;
var handledState = this.handledState;
delete this.apiKey;
delete this.handledState;
var payload = stringify(this, null, null, function() {
return "[RECURSIVE]";
});
this.apiKey = apiKey;
this.handledState = handledState;
return payload;
}
Expand Down

0 comments on commit 60bee54

Please sign in to comment.