Fix GitLab key error on author name

This commit is contained in:
Zeva Rose 2022-03-18 21:45:42 -06:00
parent b6551c6c37
commit c00829f949

View file

@ -85,7 +85,7 @@ class GitlabCog(Scale):
) )
embed.set_author( embed.set_author(
name=issue.author["name"], name=issue.author["name"],
icon_url=issue.author["display_avatar"], icon_url=issue.author["avatar_url"],
url=issue.author["web_url"], url=issue.author["web_url"],
) )
embed.set_thumbnail( embed.set_thumbnail(
@ -219,7 +219,7 @@ class GitlabCog(Scale):
) )
embed.set_author( embed.set_author(
name=mr.author["name"], name=mr.author["name"],
icon_url=mr.author["display_avatar"], icon_url=mr.author["avatar_url"],
url=mr.author["web_url"], url=mr.author["web_url"],
) )
embed.set_thumbnail( embed.set_thumbnail(