diff --git a/lib/notification.js b/lib/notification.js index d1b43db..b7f0a55 100644 --- a/lib/notification.js +++ b/lib/notification.js @@ -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; }