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