Browse Source

fix tags

remotes/origin/mohammad
mahdihty 4 years ago
parent
commit
ce7b2e2aa4
  1. 2
      app/Http/Resources/TaskResource.php

2
app/Http/Resources/TaskResource.php

@ -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;

Loading…
Cancel
Save