generated from lucien/api-template
fix: improved searchs
This commit is contained in:
parent
fb90f1ef4f
commit
b2d8acaa5d
9 changed files with 39 additions and 50 deletions
|
@ -135,7 +135,7 @@ export default function Home({socket}: {socket: WebSocket}) {
|
|||
return
|
||||
}
|
||||
axios
|
||||
.get(`/api/searchchannels?search=${search}`).then((res) => {
|
||||
.get(`/api/channels?search=${search}`).then((res) => {
|
||||
setSearchedChannels(res.data)
|
||||
}
|
||||
).catch((err) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue