fix mailjet sync
This commit is contained in:
parent
2df8a54ba9
commit
ed3db565e6
@ -521,7 +521,7 @@ class Mailjet_Sync extends Module
|
||||
"fai" => $email,
|
||||
"group" => $isPro ? 'Pro' : 'Particulier',
|
||||
"date_inscription" => date('Y-m-d\TH:i:s\Z',strtotime($customer->date_add)),
|
||||
"ref_inscription" => (int)strtotime($customer->date_add),
|
||||
"ref_inscr" => (int)strtotime($customer->date_add),
|
||||
"id" => $customer->id,
|
||||
)
|
||||
)
|
||||
@ -555,6 +555,7 @@ class Mailjet_Sync extends Module
|
||||
)
|
||||
);
|
||||
$mj = $this->getClient();
|
||||
|
||||
if ($mj->addDetailedContactToList($contacts, $lists)) {
|
||||
return true;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user