user transformer - add fields
This commit is contained in:
parent
e795ac28cd
commit
050b79cc75
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ class UserTransformer extends EntityTransformer
|
|||
'notify_paid' => (bool) $user->notify_paid,
|
||||
'notify_approved' => (bool) $user->notify_approved,
|
||||
'is_admin' => (bool) $user->is_admin,
|
||||
'permissions' => Auth()::user->permissions,
|
||||
'permissions' => (int) $user->getOriginal('permissions'),
|
||||
];
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue