OMEGA\ericyh.huang 1 год назад
Родитель
Сommit
13447a7bbe
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      src/be/app/Http/Controllers/HealthyPassPortController.php

+ 1
- 1
src/be/app/Http/Controllers/HealthyPassPortController.php Просмотреть файл

34
         $profile = Survey::where('line_user_id',$request->lineUserId)->first();
34
         $profile = Survey::where('line_user_id',$request->lineUserId)->first();
35
         if(!empty($profile->id)){
35
         if(!empty($profile->id)){
36
             $profile->filler_content = json_decode($profile->filler_content, true);
36
             $profile->filler_content = json_decode($profile->filler_content, true);
37
-            $this->botActionsSend($lineUserId,[$this->buildActionsRequest("setMenu", config("botApi.setMenuDoneSurvey"))]);
37
+            $this->botActionsSend($request->lineUserId,[$this->buildActionsRequest("setMenu", config("botApi.setMenuDoneSurvey"))]);
38
         }
38
         }
39
         return response()->json(["data" => $profile] );
39
         return response()->json(["data" => $profile] );
40
     }
40
     }