@ -21,7 +21,7 @@ class TaskResource extends JsonResource
}
$resource['tags'] = $this->tags;
$resource['tags'] = $this->tags()->pluck('tag_id')->toArray();
$resource['works'] = $this->works;
$resource['comments'] = $this->comments;