diff --git a/src/Responses/Models/RetrieveResponse.php b/src/Responses/Models/RetrieveResponse.php index 979c6dc9..2f6c2bea 100644 --- a/src/Responses/Models/RetrieveResponse.php +++ b/src/Responses/Models/RetrieveResponse.php @@ -43,8 +43,8 @@ public static function from(array $attributes, MetaInformation $meta): self return new self( $attributes['id'], $attributes['object'], - $attributes['created'], - $attributes['owned_by'], + $attributes['created'] ?? $attributes['created_at'] ?? 0, + $attributes['owned_by'] ?? '', $meta, ); }