improvement: moved vcard parse logic to backend

This commit is contained in:
canove
2020-10-04 14:05:32 -03:00
parent ec9fbee7d3
commit 315dbac175
8 changed files with 175 additions and 68 deletions

View File

@@ -44,6 +44,7 @@ const ListMessagesService = async ({
const { count, rows: messages } = await Message.findAndCountAll({
where: whereCondition,
limit,
include: ["contact", "vcardContact"],
offset,
order: [["createdAt", "DESC"]]
});