mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 05:33:54 +01:00
Fix null ref when receiving invalid author
This commit is contained in:
parent
1e55715c6b
commit
f0a2043dc2
@ -33,10 +33,10 @@ class MergeChangelog {
|
||||
sha: entry.sha,
|
||||
url: entry.html_url,
|
||||
user: {
|
||||
id: entry.author.id,
|
||||
login: entry.author.login,
|
||||
avatar: entry.author.avatar_url,
|
||||
url: entry.author.html_url,
|
||||
id: entry.author?.id,
|
||||
login: entry.author?.login,
|
||||
avatar: entry.author?.avatar_url,
|
||||
url: entry.author?.html_url,
|
||||
},
|
||||
commit_date: entry.commit.committer.date,
|
||||
message: entry.commit.message,
|
||||
|
Loading…
Reference in New Issue
Block a user