Skip to content

Commit

Permalink
Merge pull request #90 from Nexmo/MichaelJolley-patch-1
Browse files Browse the repository at this point in the history
Added missing comma to params for conversations.events.create
  • Loading branch information
kellyjandrews authored Aug 12, 2020
2 parents d6d7383 + cf6ecca commit f1591f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conversation/event/create-custom-event.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const nexmo = new Nexmo({
})

nexmo.conversations.events.create(CONVERSATION_ID, {
"type": `custom:${YOUR_EVENT_NAME}`
"type": `custom:${YOUR_EVENT_NAME}`,
"from": MEMBER_ID,
"body": {
"your": "data"
Expand Down

0 comments on commit f1591f9

Please sign in to comment.