diff --git a/src/Models/Actions/Action.php b/src/Models/Actions/Action.php index 0b206f7..67c1ebb 100644 --- a/src/Models/Actions/Action.php +++ b/src/Models/Actions/Action.php @@ -148,6 +148,6 @@ public static function parse($input) return; } - return new self($input->id, $input->command, $input->progress, $input->status, $input->started, $input->finished, $input->resources, $input->error); + return new self($input->id, $input->command, $input->progress, $input->status, $input->started, $input->finished, $input->resources, $input->error ?? null); } }