*
Showing
1 changed file
with
1 additions
and
2 deletions
... | @@ -24,8 +24,7 @@ class MusicianUserService extends Service | ... | @@ -24,8 +24,7 @@ class MusicianUserService extends Service |
24 | 24 | ||
25 | if (empty($user_ids)) return Response::success(); | 25 | if (empty($user_ids)) return Response::success(); |
26 | 26 | ||
27 | $user = AppCompany::query()->whereIn('company_id', $user_ids) | 27 | $user = AppCompany::query()->whereIn('company_id', $user_ids)->get(['company_id', 'company_name'])->keyBy('company_id'); |
28 | ->get(['company_id', 'company_name'])->keyBy('company_id'); | ||
29 | 28 | ||
30 | return Response::success($user); | 29 | return Response::success($user); |
31 | } | 30 | } | ... | ... |
-
Please register or sign in to post a comment