Skip to content

Commit

Permalink
Hotfixing missing array keys
Browse files Browse the repository at this point in the history
  • Loading branch information
pc-magas committed Nov 6, 2024
1 parent cab6bbe commit 984851c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Responses/FineTuning/RetrieveJobResponseError.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ private function __construct(
public static function from(array $attributes): ?self
{
return new self(
$attributes['code'],
$attributes['param'],
$attributes['message'],
$attributes['code']??"",
$attributes['param']??null,
$attributes['message']??"",
);
}

Expand Down

0 comments on commit 984851c

Please sign in to comment.