OMEGA\ericyh.huang 1 year ago
parent
commit
13447a7bbe
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/be/app/Http/Controllers/HealthyPassPortController.php

+ 1
- 1
src/be/app/Http/Controllers/HealthyPassPortController.php View File

@@ -34,7 +34,7 @@ class HealthyPassPortController extends Controller
34 34
         $profile = Survey::where('line_user_id',$request->lineUserId)->first();
35 35
         if(!empty($profile->id)){
36 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 39
         return response()->json(["data" => $profile] );
40 40
     }