Merge pull request #79 from lbryio/server_error
Fixed bug caused by blank claims ( deleted ).
This commit is contained in:
commit
0472ba7705
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ class LighthouseControllers {
|
||||||
let cResults = [];
|
let cResults = [];
|
||||||
for (let pResult of results) {
|
for (let pResult of results) {
|
||||||
cResults.push(pResult._source.name);
|
cResults.push(pResult._source.name);
|
||||||
if (pResult._source.value.stream !== undefined) {
|
if (pResult._source && pResult._source.value.stream !== undefined) {
|
||||||
cResults.push(pResult._source.value.stream.metadata.title);
|
cResults.push(pResult._source.value.stream.metadata.title);
|
||||||
cResults.push(pResult._source.value.stream.metadata.author);
|
cResults.push(pResult._source.value.stream.metadata.author);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue