vdavid / node-mautic

Node.js Mautic API with ES6+async/await
Apache License 2.0
47 stars 26 forks source link

Getting user using the email #17

Closed DMZakaria closed 3 years ago

DMZakaria commented 3 years ago

Hi, I don't know if it is a bug or not but getContactByEmailAddress seems not working in my side. It returns the full contacts list.

my code :

   const email = await mauticConnector.contacts.getContactByEmailAddress(
      'email:myemail'
    );

I tried using postman to call my server directly with/api/contacts?search=myemail and I got the right data

Mautic: v2.16.2

Thanks in advance