diff --git a/src/Responses/Models/RetrieveResponse.php b/src/Responses/Models/RetrieveResponse.php index b10e0d2c..170b1be4 100644 --- a/src/Responses/Models/RetrieveResponse.php +++ b/src/Responses/Models/RetrieveResponse.php @@ -42,8 +42,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, ); }