yuripeyamashita
commited on
Commit
•
61ddc9c
1
Parent(s):
88d2580
Update app.py
Browse files
app.py
CHANGED
@@ -77,11 +77,11 @@ def api():
|
|
77 |
if payload.get("quoted_msg_id"):
|
78 |
message_list[payload.get("msg_id")] = {"user_id": payload.get("user_id"),
|
79 |
"amount": get_amount(payload.get("msg_text")),
|
80 |
-
"quoted_msg_id": payload.get("quoted_msg_id"),
|
81 |
-
"quote_token": get_amount(payload.get("quote_token"))}
|
82 |
else:
|
83 |
message_list[payload.get("msg_id")] = {"user_id": payload.get("user_id"),
|
84 |
-
"amount": get_amount(payload.get("msg_text"))
|
|
|
85 |
|
86 |
for msg_id, data in message_list.items():
|
87 |
quoted_msg_id = data.get("quoted_msg_id")
|
|
|
77 |
if payload.get("quoted_msg_id"):
|
78 |
message_list[payload.get("msg_id")] = {"user_id": payload.get("user_id"),
|
79 |
"amount": get_amount(payload.get("msg_text")),
|
80 |
+
"quoted_msg_id": payload.get("quoted_msg_id"), }
|
|
|
81 |
else:
|
82 |
message_list[payload.get("msg_id")] = {"user_id": payload.get("user_id"),
|
83 |
+
"amount": get_amount(payload.get("msg_text")),
|
84 |
+
"quote_token": payload.get("quote_token")}
|
85 |
|
86 |
for msg_id, data in message_list.items():
|
87 |
quoted_msg_id = data.get("quoted_msg_id")
|