-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I've noticed that as soon as there is a Flex Task created, in my case that happens when a client sends/replies to a SMS, the following bit of code sends duplicated SMS until the Task is completed.
client.messages.create({ body: event.Message, to: to, from: from }).then(() => { console.log('adding message to', channelResponse.data.sid); client.chat.services(context.CHAT_SERVICE_SID) .channels(channelResponse.data.sid) .messages .create({ body: event.Message, from: from }).then(() => callback(null, response)); }).catch(err => { console.error(err); callback(err); });
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels