Replace stats transformer with resource

This commit is contained in:
Lance Pioch 2022-11-07 22:11:45 -05:00
parent 032e4f2e31
commit 87a2fff3b7
5 changed files with 44 additions and 54 deletions

View file

@ -49,6 +49,8 @@ class AppServiceProvider extends ServiceProvider
'task' => Models\Task::class,
'user' => Models\User::class,
]);
\Pterodactyl\Http\Resources\StatsResource::withoutWrapping();
}
/**