mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by hailey.at and committed by

GitHub c190fd58 b783745b

+3 -3
+2 -2
src/state/queries/actor-autocomplete.ts
··· 30 30 async queryFn() { 31 31 const res = prefix 32 32 ? await getAgent().searchActorsTypeahead({ 33 - term: prefix, 33 + q: prefix, 34 34 limit: 8, 35 35 }) 36 36 : undefined ··· 68 68 queryKey: RQKEY(query || ''), 69 69 queryFn: () => 70 70 getAgent().searchActorsTypeahead({ 71 - term: query, 71 + q: query, 72 72 limit, 73 73 }), 74 74 })
+1 -1
src/state/queries/actor-search.ts
··· 13 13 queryKey: RQKEY(prefix || ''), 14 14 async queryFn() { 15 15 const res = await getAgent().searchActors({ 16 - term: prefix, 16 + q: prefix, 17 17 }) 18 18 return res.data.actors 19 19 },