api(application): allow updating a user's role

This commit is contained in:
Matthew Penner 2021-07-25 15:59:58 -06:00
parent ca4046e818
commit e56aef31bc
2 changed files with 3 additions and 2 deletions

View file

@ -21,7 +21,7 @@ class StoreUserRequest extends ApplicationApiRequest
'username',
'password',
'language',
'root_admin',
'admin_role_id',
])->toArray();
$response['first_name'] = $rules['name_first'];