From 7e818cbc9dc589a9c80b1998f6b6b4fc5ec89764 Mon Sep 17 00:00:00 2001 From: Michal Radecki Date: Tue, 22 Jan 2019 15:24:43 +0100 Subject: [PATCH] conversations api patch for /send --- lib/messagebird.js | 2 +- lib/test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/messagebird.js b/lib/messagebird.js index 153a9f9..1af3fef 100644 --- a/lib/messagebird.js +++ b/lib/messagebird.js @@ -420,7 +420,7 @@ module.exports = function (accessKey, timeout) { httpRequest({ hostname: 'conversations.messagebird.com', method: 'POST', - path: '/v1/conversations/send', + path: '/v1/send', params: params }, callback); }, diff --git a/lib/test.js b/lib/test.js index 1e52f51..91535ce 100644 --- a/lib/test.js +++ b/lib/test.js @@ -393,7 +393,7 @@ queue.push(function () { }; nock('https://conversations.messagebird.com') - .post('/v1/conversations/send', params) + .post('/v1/send', params) .reply(200, { message: { id: 'message-id',