Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- model = await models.customer.findOne({
- include: [{
- model: models.lead,
- include: [{
- model: models.person,
- where: {phone: call.From.replace('+972', '0')}
- }]
- }]
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement