This commit is contained in:
saparatayev 2022-03-25 17:09:05 +05:00
commit 01f0ac341f
1 changed files with 2 additions and 1 deletions

View File

@ -15,10 +15,11 @@ class ImageResource extends JsonResource
public function toArray($request)
{
return [
'id' => $this->id,
'disk_name' => $this->disk_name,
'file_name' => $this->file_name,
'path' => $this->path,
'extension' => $this->extension,
];
}
}
}