mirror of
https://github.com/YunoHost/webhooks.git
synced 2024-09-03 19:56:54 +02:00
[fix] bad test
This commit is contained in:
parent
ff00183b45
commit
b5d6208546
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ async def github(request):
|
|||
notify(f"[repository] @{user} {action} new release #{release_tag} {release_title} {url}")
|
||||
|
||||
# https://developer.github.com/v3/activity/events/types/#statusevent
|
||||
elif hook_type == "release":
|
||||
elif hook_type == "status":
|
||||
state = request.json["state"]
|
||||
description = request.json["description"]
|
||||
target_url = request.json["target_url"]
|
||||
|
|
Loading…
Reference in a new issue