Skip to content

Commit

Permalink
Fix empy notification URL (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
babeuloula authored Dec 14, 2022
1 parent 5b7566c commit a6e14a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dto/Notification.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function __construct(array $data)
$this->subject = $data['subject']['title'];
$this->type = NotificationType::from($data['subject']['type']);
$this->repository = $data['repository']['full_name'];
$this->setUrl($data['subject']['url']);
$this->setUrl((string) $data['subject']['url']);
}

public function getId(): int
Expand Down

0 comments on commit a6e14a6

Please sign in to comment.