mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-09-11 21:19:43 +00:00
fix: use channel id for search
Lighthouse now has channel id as a param.
This commit is contained in:
parent
4f3bdec26e
commit
2f318cbf5e
1 changed files with 2 additions and 2 deletions
|
@ -93,8 +93,8 @@ function ChannelPage(props: Props) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleSearch() {
|
function handleSearch() {
|
||||||
const fetchUrl = `${LIGHTHOUSE_URL}?s=${encodeURIComponent(searchQuery)}&channel=${encodeURIComponent(
|
const fetchUrl = `${LIGHTHOUSE_URL}?s=${encodeURIComponent(searchQuery)}&channel_id=${encodeURIComponent(
|
||||||
claim.permanent_url.slice('lbry://'.length)
|
claim.claim_id
|
||||||
)}`;
|
)}`;
|
||||||
fetch(fetchUrl)
|
fetch(fetchUrl)
|
||||||
.then(res => res.json())
|
.then(res => res.json())
|
||||||
|
|
Loading…
Add table
Reference in a new issue