Fix the resource key for subusers
This commit is contained in:
parent
ab09c7db28
commit
5f60a6c735
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ class ServerTransformer extends BaseTransformer
|
|||
|
||||
$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…
Reference in a new issue