From 1b841591d511212d025b9cf55caa5c5a67b61153 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Mill=C3=A1n?= Date: Tue, 31 Oct 2017 15:02:53 +0100 Subject: [PATCH] Fix typo. Thanks @michelepra. --- lib/Dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Dialog.js b/lib/Dialog.js index 694cfcf3f..d444d9ba3 100644 --- a/lib/Dialog.js +++ b/lib/Dialog.js @@ -145,7 +145,7 @@ module.exports = class Dialog sendRequest(method, options = {}) { const extraHeaders = Utils.cloneArray(options.extraHeaders); - const eventHandlers = options.eventHanlders || {}; + const eventHandlers = options.eventHandlers || {}; const body = options.body || null; const request = this._createRequest(method, extraHeaders, body);