Skip to content

Commit

Permalink
Merge 65ba1bc into 6a4bd51
Browse files Browse the repository at this point in the history
  • Loading branch information
XaosSintez committed Jun 26, 2018
2 parents 6a4bd51 + 65ba1bc commit 5937a36
Show file tree
Hide file tree
Showing 13 changed files with 1,135 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Entities/ValuesList.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function setValues(array $values)
{
$listValues = [];

if (!is_array($values)) {
if (empty($values)) {
throw new DomainException('Values cannot be empty');
}

Expand Down
2 changes: 1 addition & 1 deletion src/Services/EmailNotificationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ public function update($notificationId, $data)
*/
public function preview($data)
{
$this->client()->post($data, 'previews/email-notifications');
$this->client()->post($data, 'previews/email-notifications/send-notification');
}
}

0 comments on commit 5937a36

Please sign in to comment.