yuripeyamashita
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ def api():
|
|
95 |
|
96 |
|
97 |
def get_payload_dict(raw_payload) -> dict:
|
98 |
-
|
99 |
events = raw_payload.get("events", [{}])[0]
|
100 |
return {"token": events.get("replyToken"),
|
101 |
"group_id": events.get("source", {}).get("groupId"),
|
|
|
95 |
|
96 |
|
97 |
def get_payload_dict(raw_payload) -> dict:
|
98 |
+
print(raw_payload)
|
99 |
events = raw_payload.get("events", [{}])[0]
|
100 |
return {"token": events.get("replyToken"),
|
101 |
"group_id": events.get("source", {}).get("groupId"),
|