mirror of
https://github.com/YunoHost/webhooks.git
synced 2024-09-03 19:56:54 +02:00
[fix] need to go one level deeper
This commit is contained in:
parent
c53f87e6e1
commit
818e4299d5
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ async def github(request):
|
|||
notify(f"[{repository}] @{user} {action} issue #{issue_number}: {issue_title} {url}", repository=repository)
|
||||
|
||||
elif action in ("assigned", "unassigned"):
|
||||
assigned_user = request.json["assignee"]
|
||||
assigned_user = request.json["assignee"]["login"]
|
||||
notify(f"[{repository}] @{user} {action} {assigned_user} on issue #{issue_number}: {issue_title} {url}", repository=repository)
|
||||
|
||||
elif action in ("labeled", "unlabeled"):
|
||||
|
|
Loading…
Reference in a new issue