Merge pull request #61 from lbryio/autocomplete_fix
The internal server error was because we were checking for a null val…
This commit is contained in:
commit
b76b7b7a58
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ class LighthouseControllers {
|
|||
let cResults = [];
|
||||
for (let pResult of results) {
|
||||
cResults.push(pResult._source.name);
|
||||
if (pResult._source.value !== undefined) {
|
||||
if (pResult._source.value.stream !== undefined) {
|
||||
cResults.push(pResult._source.value.stream.metadata.title);
|
||||
cResults.push(pResult._source.value.stream.metadata.author);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue