Skip to content

Commit

Permalink
Merge pull request #15671 from snipe/bug/sc-27147
Browse files Browse the repository at this point in the history
Bug/sc 27147
  • Loading branch information
snipe authored Oct 15, 2024
2 parents 914a647 + 0ae9ce0 commit 16c8264
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/Http/Controllers/Api/UsersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,14 @@ public function index(Request $request) : array

$users = User::select([
'users.activated',
'users.created_by',
'users.address',
'users.avatar',
'users.city',
'users.company_id',
'users.country',
'users.created_by',
'users.created_at',
'users.updated_at',
'users.deleted_at',
'users.department_id',
'users.email',
Expand All @@ -67,7 +68,6 @@ public function index(Request $request) : array
'users.state',
'users.two_factor_enrolled',
'users.two_factor_optin',
'users.updated_at',
'users.username',
'users.zip',
'users.remote',
Expand Down Expand Up @@ -255,6 +255,7 @@ public function index(Request $request) : array
'groups',
'activated',
'created_at',
'updated_at',
'two_factor_enrolled',
'two_factor_optin',
'last_login',
Expand Down

0 comments on commit 16c8264

Please sign in to comment.