mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2025-01-04 15:53:30 +03:00
Use login instead of name field for pr author
This commit is contained in:
parent
b4f67aaa7a
commit
254c5084b7
@ -46,7 +46,7 @@ export function ghResponseToInstance(
|
||||
body: pr.body || undefined,
|
||||
author: pr.user
|
||||
? {
|
||||
name: pr.user.name || 'unknown',
|
||||
name: pr.user.login || 'unknown',
|
||||
email: pr.user.email || 'unknown',
|
||||
isBot: pr.user.type == 'bot',
|
||||
gravatarUrl: new URL(pr.user.avatar_url)
|
||||
|
Loading…
Reference in New Issue
Block a user