visuddhinanda 3 лет назад
Родитель
Сommit
843213bb12
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Http/Resources/RelationResource.php

+ 1 - 1
app/Http/Resources/RelationResource.php

@@ -18,7 +18,7 @@ class RelationResource extends JsonResource
         return [
             "id"=>$this->id,
             "name"=> $this->name,
-            "case"=> json_decode($this->case),
+            "case"=> $this->case,
             "to"=> json_decode($this->to),
             "editor"=> UserApi::getById($this->editor_id),
             "created_at"=> $this->created_at,