diff --git a/Models/Unit.php b/Models/Unit.php index b492403..1bdaccb 100755 --- a/Models/Unit.php +++ b/Models/Unit.php @@ -273,7 +273,7 @@ class Unit implements \JsonSerializable, ArrayableInterface 'status' => $this->status, 'description' => $this->description, 'descriptionRaw' => $this->descriptionRaw, - 'parent' => $this->parent ?? new NullUnit(), + 'parent' => $this->parent, 'image' => $this->image, ]; }