wesmiler před 1 měsícem
rodič
revize
31cebc5025
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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));