mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 15:34:44 +02:00
Fix the resource key for subusers
This commit is contained in:
parent
ab09c7db28
commit
5f60a6c735
@ -132,7 +132,7 @@ class ServerTransformer extends BaseTransformer
|
|||||||
|
|
||||||
$server->loadMissing('subusers');
|
$server->loadMissing('subusers');
|
||||||
|
|
||||||
return $this->collection($server->getRelation('subusers'), $this->makeTransformer(SubuserTransformer::class), 'user');
|
return $this->collection($server->getRelation('subusers'), $this->makeTransformer(SubuserTransformer::class), 'subuser');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user