Skip to content

Commit

Permalink
Add createdAt property and make domain nullable in resources
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Jun 10, 2023
1 parent 05a4834 commit ad24de9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/Resources/CronCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class CronCheck extends ApiResource

public string|null $description = '';

public string $createdAt;

public function __construct(array $attributes, $ohDear = null)
{
parent::__construct($attributes, $ohDear);
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/StatusPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class StatusPage extends ApiResource

public string $title;

public string $domain;
public ?string $domain;

public string $slug;

Expand Down

0 comments on commit ad24de9

Please sign in to comment.