Skip to content

Commit

Permalink
Merge pull request #32 from mariomka/patch-1
Browse files Browse the repository at this point in the history
Fix data retrieval when creating a campaign
  • Loading branch information
freekmurze authored Apr 12, 2024
2 parents 6c66077 + 821a65a commit 4cff3e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Actions/ManagesCampaigns.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function campaign(string $uuid): Campaign

public function createCampaign(array $data): Campaign
{
$attributes = $this->post('campaigns', $data);
$attributes = $this->post('campaigns', $data)['data'];

return new Campaign($attributes, $this);
}
Expand Down

0 comments on commit 4cff3e1

Please sign in to comment.