Преглед на файлове

任务返回关联需求的描述

kely преди 11 месеца
родител
ревизия
2043ad527d
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      app/Http/Resources/API/RequirementSimpleResource.php

+ 1 - 0
app/Http/Resources/API/RequirementSimpleResource.php

@@ -17,6 +17,7 @@ class RequirementSimpleResource extends JsonResource
         return [
             'id' => $this->id,
             'title' => $this->title,
+            'description' => $this->description,
         ];
     }
 }