kenken999 commited on
Commit
15e18aa
1 Parent(s): abba5d1
Files changed (1) hide show
  1. mysite/routers/fastapi.py +3 -0
mysite/routers/fastapi.py CHANGED
@@ -79,6 +79,9 @@ def setup_webhook_routes(app: FastAPI):
79
  body_json = json.loads(body_str)
80
  events = body_json.get("events", [])
81
 
 
 
 
82
  for event in events:
83
  if event["type"] == "message" and event["message"]["type"] == "text":
84
  user_id = event["source"]["userId"]
 
79
  body_json = json.loads(body_str)
80
  events = body_json.get("events", [])
81
 
82
+
83
+ return
84
+
85
  for event in events:
86
  if event["type"] == "message" and event["message"]["type"] == "text":
87
  user_id = event["source"]["userId"]