From ddd8bd54d0a3f3c532357026ec68d96c4144703b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Ma=C5=82ecki?= Date: Mon, 3 Oct 2011 00:49:31 +0200 Subject: [PATCH] [minor] Fix minor inconsistency --- lib/winston/transports/webhook.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/winston/transports/webhook.js b/lib/winston/transports/webhook.js index 29b40eafc..8d5a0bf32 100644 --- a/lib/winston/transports/webhook.js +++ b/lib/winston/transports/webhook.js @@ -83,7 +83,7 @@ Webhook.prototype.log = function (level, msg, meta, callback) { headers: { 'Content-Type': 'application/json' } }; - if (self.ssl) { + if (this.ssl) { options.ca = this.ssl.ca; options.key = this.ssl.key; options.cert = this.ssl.cert;