diff --git a/litecord/blueprints/webhooks.py b/litecord/blueprints/webhooks.py index 64a13f9..b8c1e8f 100644 --- a/litecord/blueprints/webhooks.py +++ b/litecord/blueprints/webhooks.py @@ -23,7 +23,7 @@ async def get_single_webhook(webhook_id): pass -@bp.route('/webhooks//', methods=['GET']) +@bp.route('/webhooks//', methods=['GET']) async def get_tokened_webhook(webhook_id, webhook_token): pass @@ -33,7 +33,7 @@ async def modify_webhook(webhook_id): pass -@bp.route('/webhooks//', methods=['PATCH']) +@bp.route('/webhooks//', methods=['PATCH']) async def modify_webhook_tokened(webhook_id, webhook_token): pass @@ -43,24 +43,22 @@ async def del_webhook(webhook_id): pass -@bp.route('/webhooks//', methods=['DELETE']) +@bp.route('/webhooks//', methods=['DELETE']) async def del_webhook_tokened(webhook_id, webhook_token): pass -@bp.route('/webhooks//', methods=['POST']) +@bp.route('/webhooks//', methods=['POST']) async def execute_webhook(webhook_id, webhook_token): pass -@bp.route('/webhooks///slack', +@bp.route('/webhooks///slack', methods=['POST']) async def execute_slack_webhook(webhook_id, webhook_token): pass -@bp.route('/webhooks///github', - methods=['POST']) +@bp.route('/webhooks///github', methods=['POST']) async def execute_github_webhook(webhook_id, webhook_token): pass -