fix server error for channel urls

This commit is contained in:
Sean Yesmunt 2019-11-12 15:03:03 -05:00
parent 54ddca9477
commit a2ed4e5ed5

View file

@ -38,7 +38,7 @@ function escapeHtmlProperty(property) {
}
function buildOgMetadata(uri, claim) {
const { isChannel } = parseURI(uri);
const { isChannel, claimName } = parseURI(uri);
const title = escapeHtmlProperty(claim.title ? claim.title : claimName);
const claimDescription =
claim.description && claim.description.length > 0