父节点
当前提交
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
     }