Fix GitLab key error on author name
This commit is contained in:
parent
b6551c6c37
commit
c00829f949
1 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||||
|
|
Loading…
Add table
Reference in a new issue