fix: 修复tg机器人无法回复工单的问题

This commit is contained in:
xboard
2023-12-03 09:43:38 +08:00
parent ea6cd5eca1
commit bf3930d29f
2 changed files with 4 additions and 3 deletions
@@ -23,8 +23,9 @@ class TelegramController extends Controller
public function webhook(Request $request)
{
$this->formatMessage($request->input());
$this->formatChatJoinRequest($request->input());
$data = json_decode(get_request_content(),true);
$this->formatMessage($data);
$this->formatChatJoinRequest($data);
$this->handle();
}