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() {
|
||||
const fetchUrl = `${LIGHTHOUSE_URL}?s=${encodeURIComponent(searchQuery)}&channel=${encodeURIComponent(
|
||||
claim.permanent_url.slice('lbry://'.length)
|
||||
const fetchUrl = `${LIGHTHOUSE_URL}?s=${encodeURIComponent(searchQuery)}&channel_id=${encodeURIComponent(
|
||||
claim.claim_id
|
||||
)}`;
|
||||
fetch(fetchUrl)
|
||||
.then(res => res.json())
|
||||
|
|
Loading…
Reference in a new issue