Skip to content

Commit

Permalink
Update Cord.php
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbj authored Feb 19, 2024
1 parent 70ff558 commit 41c1cfa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Cord.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public function addContact(array $contactDetails): self

$documents[] = [
'_attributes' => [
'Action' => 'INSERT',
'Action' => 'MERGE',
],
'DocumentGroup' => $document['DocumentGroup'] ?? '',
'DefaultContact' => $document['DefaultContact'] ?? 'false',
Expand All @@ -239,6 +239,7 @@ public function addContact(array $contactDetails): self
] : null,
'FilterShipmentMode' => $document['FilterShipmentMode'] ?? 'ALL',
'FilterDirection' => $document['FilterDirection'] ?? 'ALL',
'EmailSubjectMacro' => $document['EmailSubjectMacro'] ?? '',
];
}

Expand Down

0 comments on commit 41c1cfa

Please sign in to comment.