wesmiler пре 1 месец
родитељ
комит
31cebc5025
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      app/Services/Api/MeetingService.php

+ 2 - 1
app/Services/Api/MeetingService.php

@@ -107,7 +107,8 @@ class MeetingService extends BaseService
                         ->get();
                 }
                 $info['supervisors'] = $supervisors?$supervisors->toArray() :[];
-                $info['guest_count'] = count($info['stores']) + count($info['supervisors']);
+                $info['store_count'] = count($info['stores']);
+                $info['supervisor_count'] =count($info['supervisors']);
             }
 
             RedisService::set($cacheKey, $info,   rand(5,10));