zapier improvements (#532)
* zapier improvements * Fix test case --------- Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
@@ -12,8 +12,9 @@ class FormResource extends JsonResource
|
||||
public function toArray($request)
|
||||
{
|
||||
return [
|
||||
'id' => $this->resource->slug,
|
||||
'id' => $this->resource->id,
|
||||
'name' => $this->resource->title,
|
||||
'label' => $this->resource->title . ' (' . $this->resource->slug . ')'
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user