Skip to content

Commit

Permalink
Merge pull request #30 from odrzutowiec/add-conversations
Browse files Browse the repository at this point in the history
conversations api patch for /send
  • Loading branch information
epels authored Jan 22, 2019
2 parents 027c412 + 7e818cb commit 9aac892
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/messagebird.js
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ module.exports = function (accessKey, timeout) {
httpRequest({
hostname: 'conversations.messagebird.com',
method: 'POST',
path: '/v1/conversations/send',
path: '/v1/send',
params: params
}, callback);
},
Expand Down
2 changes: 1 addition & 1 deletion lib/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ queue.push(function () {
};

nock('https://conversations.messagebird.com')
.post('/v1/conversations/send', params)
.post('/v1/send', params)
.reply(200, {
message: {
id: 'message-id',
Expand Down

0 comments on commit 9aac892

Please sign in to comment.