OMEGA\ericyh.huang преди 1 година
родител
ревизия
13447a7bbe
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      src/be/app/Http/Controllers/HealthyPassPortController.php

+ 1
- 1
src/be/app/Http/Controllers/HealthyPassPortController.php Целия файл

@@ -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
     }