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');
|
||||
|
||||
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 New Issue