diff --git a/server/sms/receive.js b/server/sms/receive.js index d74668728..603da5f4a 100644 --- a/server/sms/receive.js +++ b/server/sms/receive.js @@ -81,8 +81,7 @@ exports.receive = async (req, res) => { if (response.bodyshops[0].conversations[0]) { const r3 = await client.request(queries.INSERT_MESSAGE, { msg: newMessage, - - id: + conversationid: response.bodyshops[0].conversations[0] && response.bodyshops[0].conversations[0].id, });