Fix crash on direct load (anonymous only?)
This commit is contained in:
parent
87c94e3c1c
commit
968db6652a
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ function truncateDescription(description, maxChars = 200) {
|
|||
const Generate = {
|
||||
author: (claim) => {
|
||||
const channelName = claim?.signing_channel?.value?.title || claim?.signing_channel?.name;
|
||||
const channelUrl = lbryToOdyseeUrl(claim.signing_channel);
|
||||
const channelUrl = claim?.signing_channel && lbryToOdyseeUrl(claim.signing_channel);
|
||||
if (channelName && channelUrl) {
|
||||
return { '@type': 'Person', name: channelName, url: channelUrl };
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue