refactor: Remove unnecessary assignment of parentMessageId in AskController

This commit is contained in:
Danny Avila 2024-09-03 07:46:38 -04:00
parent 345748a6ab
commit b615c4c7ec
No known key found for this signature in database
GPG key ID: 2DD9CC89B9B50364

View file

@ -123,11 +123,6 @@ const AskController = async (req, res, next, initializeClient, addTitle) => {
};
let response = await client.sendMessage(text, messageOptions);
if (overrideParentMessageId) {
response.parentMessageId = overrideParentMessageId;
}
response.endpoint = endpointOption.endpoint;
const { conversation = {} } = await client.responsePromise;