fix: remove ticket from all users when deleted

This commit is contained in:
canove
2020-09-25 21:17:41 -03:00
parent 6c63abf29c
commit eb23775948
7 changed files with 25 additions and 12 deletions

View File

@@ -27,7 +27,7 @@ const UpdateContactService = async ({
const contact = await Contact.findOne({
where: { id: contactId },
attributes: ["id", "name", "number", "email"],
attributes: ["id", "name", "number", "email", "profilePicUrl"],
include: ["extraInfo"]
});