replace deprecated term with q in search actor (#3405)

This commit is contained in:
Hailey 2024-04-04 11:13:11 -07:00 committed by GitHub
parent b783745b2e
commit c190fd58ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ export function useActorSearch(prefix: string) {
queryKey: RQKEY(prefix || ''),
async queryFn() {
const res = await getAgent().searchActors({
term: prefix,
q: prefix,
})
return res.data.actors
},