send recsys powered-by #6875

Merged
jessopb merged 4 commits from recsys-sendPoweredBy into master 2021-08-17 16:03:25 +02:00
Showing only changes of commit b2386cc400 - Show all commits

View file

@ -25,7 +25,7 @@ export default function useLighthouse(
let isSubscribed = true; let isSubscribed = true;
lighthouse lighthouse
.search(throttledQuery) .search(throttledQuery)
.then((results) => { .then(({ body: results }) => {
if (isSubscribed) { if (isSubscribed) {
setResults( setResults(
results.map((result) => `lbry://${result.name}#${result.claimId}`).filter((uri) => isURIValid(uri)) results.map((result) => `lbry://${result.name}#${result.claimId}`).filter((uri) => isURIValid(uri))