|
@@ -155,7 +155,7 @@ class AppController extends Controller
|
|
|
$is_enable = $request->get('is_enabled', '');
|
|
|
if(!empty($phone)) {
|
|
|
$channel = new ChannelService();
|
|
|
- $distribution_channels = $channel->getChannelsByChannelUserIds([],$is_enable,$phone);
|
|
|
+ $distribution_channels = $channel->getChannelsByChannelUserIds($this->channel_user_ids,$is_enable,$phone);
|
|
|
if($distribution_channels){
|
|
|
$distribution_channels = $distribution_channels->toArray();
|
|
|
$this->channel_ids = array_column($distribution_channels,'id');
|