mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-28 11:00:39 +00:00
api resource refactoring
This commit is contained in:
@@ -15,6 +15,7 @@ class FileResource extends JsonResource
|
||||
*/
|
||||
public function toArray($request)
|
||||
{
|
||||
// TODO: optimize created_at/updated_at conversion because of performance issue
|
||||
return [
|
||||
'data' => [
|
||||
'id' => $this->id,
|
||||
|
||||
Reference in New Issue
Block a user