We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
createEmailList
addTagToEmailList
1 parent 776f1e6 commit 8cfcbacCopy full SHA for 8cfcbac
1 file changed
src/Actions/ManagesEmailLists.php
@@ -23,7 +23,7 @@ public function emailLists(array $filters = []): PaginatedResults
23
24
public function createEmailList(array $data): EmailList
25
{
26
- $attributes = $this->post('email-lists', $data);
+ $attributes = $this->post('email-lists', $data)['data'];
27
28
return new EmailList($attributes, $this);
29
}
@@ -49,7 +49,7 @@ public function deleteEmailList(string $uuid): void
49
50
public function addTagToEmailList(string $uuid, array $data): Tag
51
52
- $attributes = $this->post("email-lists/{$uuid}/tags", $data);
+ $attributes = $this->post("email-lists/{$uuid}/tags", $data)['data'];
53
54
return new Tag($attributes, $this);
55
0 commit comments