wesmiler 1 hónapja
szülő
commit
31cebc5025
1 módosított fájl, 2 hozzáadás és 1 törlés
  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));