@xuda.io/ai_module 1.1.4543 → 1.1.4545
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4444,10 +4444,10 @@ const chat_email = async function (req, job_id, headers) {
|
|
|
4444
4444
|
selector: {
|
|
4445
4445
|
docType: 'chat_conversation_item',
|
|
4446
4446
|
conversation_type: 'email',
|
|
4447
|
-
|
|
4447
|
+
conversation_id: conversation_doc._id,
|
|
4448
4448
|
},
|
|
4449
4449
|
limit: 1,
|
|
4450
|
-
|
|
4450
|
+
sort: [{ date_created_ts: 'desc' }],
|
|
4451
4451
|
});
|
|
4452
4452
|
|
|
4453
4453
|
if (chat_conversation_item.docs.length) {
|