mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Make server listing and single server view API endpoints work
This commit is contained in:
13
app/Transformers/Api/Application/EggVariableTransformer.php
Normal file
13
app/Transformers/Api/Application/EggVariableTransformer.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace Pterodactyl\Transformers\Api\Application;
|
||||
|
||||
use Pterodactyl\Models\EggVariable;
|
||||
|
||||
class EggVariableTransformer extends BaseTransformer
|
||||
{
|
||||
public function transform(EggVariable $model)
|
||||
{
|
||||
return $model->toArray();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user