|
|
@ -218,7 +218,7 @@ const setupMessageHandler = async () => {
|
|
|
|
const webLink = await uploadMediaFile(filePath);
|
|
|
|
const webLink = await uploadMediaFile(filePath);
|
|
|
|
waiContentFieldsToDB.IVADS_link = webLink;
|
|
|
|
waiContentFieldsToDB.IVADS_link = webLink;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const currenctStatus = getCorrectOrderStatus(savedMsg.msg_status, messageData.status);
|
|
|
|
const currenctStatus = getCorrectOrderStatus(savedMsg.msg_status, waiMessage.status);
|
|
|
|
record.msg_status = currenctStatus;
|
|
|
|
record.msg_status = currenctStatus;
|
|
|
|
delete upsertFields.status;
|
|
|
|
delete upsertFields.status;
|
|
|
|
|
|
|
|
|
|
|
|