Skip to content

Commit f1c2ab5

Browse files
Fix issues with undefined method. Update library version
1 parent 43f827b commit f1c2ab5

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"require": {
2626
"php": "^7.1.3|^8.0",
2727
"laravel/framework": "~5.1|^6.0|^7.0|^8.0|^9.0",
28-
"mailjet/mailjet-apiv3-php": "^1.2",
28+
"mailjet/mailjet-apiv3-php": "^1.5.6",
2929
"symfony/mailjet-mailer": "^6.0"
3030
},
3131
"require-dev": {

composer.phar

-2.08 MB
Binary file not shown.

src/Services/ContactsListService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public function updateEmail(string $id, Contact $contact, string $oldEmail): arr
165165
$oldContactData = $response->getData();
166166

167167
if (isset($oldContactData[0])) {
168-
$contact->setProperties($oldContactData[0]['Data']);
168+
$contact->setOptionalProperties($oldContactData[0]['Data']);
169169
}
170170

171171
$contact->setAction(Contact::ACTION_ADDFORCE);

0 commit comments

Comments
 (0)