asmaa105 commited on
Commit
8553070
Β·
verified Β·
1 Parent(s): f0b262b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -401,7 +401,7 @@ async def webhook_handler(request: Request, background_tasks: BackgroundTasks):
401
  print(f"πŸ” Event details - scope: {scope}, action: {action}")
402
 
403
  # Check if this is a discussion comment creation
404
- scope_check = scope == "discussion.comment""
405
  action_check = action == "create"
406
  not_pr = not payload["discussion"]["isPullRequest"]
407
  # scope_check = scope_check and not_pr
 
401
  print(f"πŸ” Event details - scope: {scope}, action: {action}")
402
 
403
  # Check if this is a discussion comment creation
404
+ scope_check = scope == "discussion.comment"
405
  action_check = action == "create"
406
  not_pr = not payload["discussion"]["isPullRequest"]
407
  # scope_check = scope_check and not_pr