Replace stats transformer with resource
This commit is contained in:
parent
032e4f2e31
commit
87a2fff3b7
5 changed files with 44 additions and 54 deletions
|
@ -49,6 +49,8 @@ class AppServiceProvider extends ServiceProvider
|
|||
'task' => Models\Task::class,
|
||||
'user' => Models\User::class,
|
||||
]);
|
||||
|
||||
\Pterodactyl\Http\Resources\StatsResource::withoutWrapping();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue