error llamada a procedimiento api sendinblue

This commit is contained in:
David Arranz 2020-11-17 11:39:44 +01:00
parent 907015eaf5
commit 4029b8a767

View File

@ -75,7 +75,7 @@ function _removeMemberFromList(member, listId) {
contactEmails.emails = [member];
return new Promise(function (resolve, reject) {
api.removeContactToList(listId, contactEmails)
api.removeContactFromList(listId, contactEmails)
.then(function (data) {
console.debug('API called successfully. Returned data: ' + data);
if ((data.contacts.success) && (data.contacts.success[0] === member.email)) {