瀏覽代碼

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()).'~~'.