mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 20:55:44 +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,
|
sha: entry.sha,
|
||||||
url: entry.html_url,
|
url: entry.html_url,
|
||||||
user: {
|
user: {
|
||||||
id: entry.author.id,
|
id: entry.author?.id,
|
||||||
login: entry.author.login,
|
login: entry.author?.login,
|
||||||
avatar: entry.author.avatar_url,
|
avatar: entry.author?.avatar_url,
|
||||||
url: entry.author.html_url,
|
url: entry.author?.html_url,
|
||||||
},
|
},
|
||||||
commit_date: entry.commit.committer.date,
|
commit_date: entry.commit.committer.date,
|
||||||
message: entry.commit.message,
|
message: entry.commit.message,
|
||||||
|
Loading…
Reference in New Issue
Block a user