yuripeyamashita commited on
Commit
416b9fb
1 Parent(s): 81b69ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,8 +24,8 @@ def api():
24
  payload = get_payload_dict(request.get_json())
25
  print(group_id)
26
 
27
- # if group_id != GROUP_ID:
28
- # raise ValueError("Invalid Group")
29
 
30
  if payload.get("unsend_msg_id"):
31
  unsend_msg_id = payload.get("unsend_msg_id")
 
24
  payload = get_payload_dict(request.get_json())
25
  print(group_id)
26
 
27
+ if group_id != GROUP_ID:
28
+ raise ValueError("Invalid Group")
29
 
30
  if payload.get("unsend_msg_id"):
31
  unsend_msg_id = payload.get("unsend_msg_id")