yuripeyamashita commited on
Commit
fd33f7a
·
verified ·
1 Parent(s): 77bb999

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def api():
29
  if payload.get("unsend_msg_id"):
30
  unsend_msg_id = payload.get("unsend_msg_id")
31
  message_list.pop(unsend_msg_id, None)
32
- filtered_data = {key: value for key, value in message_list.items() if value["quoted_msg_id"] != unsend_msg_id}
33
  print(filtered_data)
34
  raise ValueError("Unsend Success")
35
 
 
29
  if payload.get("unsend_msg_id"):
30
  unsend_msg_id = payload.get("unsend_msg_id")
31
  message_list.pop(unsend_msg_id, None)
32
+ filtered_data = {key: value for key, value in message_list.items() if value.get("quoted_msg_id") != unsend_msg_id}
33
  print(filtered_data)
34
  raise ValueError("Unsend Success")
35