소스 검색

fixed clients to gsheet

= 3 년 전
부모
커밋
25940fad68
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Console/Commands/clientsToGsheet.php

+ 1 - 1
app/Console/Commands/clientsToGsheet.php

@@ -114,7 +114,7 @@ class clientsToGsheet extends Command
 			'Default Na Engagement Assessment Status'
         ];
 
-        Client::whereNull('shadow_pro_id')->chunk(function($clients) use ($values){
+        Client::whereNull('shadow_pro_id')->chunk(1, function($clients) use (&$values){
             foreach($clients as $patient){
                 $patientStr =($patient->chart_number).'~~'.
                 ($patient->displayName()).'~~'.