Skip to content

Commit

Permalink
fix: search by username
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisParedes1 committed Dec 4, 2023
1 parent a6efa15 commit c475772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screens/search/search-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const whenSearch = async (
console.log(data);
if (data.username && data.username.trim() !== '') {
try {
const { data: users } = await client.content.get(
const { data: users } = await client.identity.get(
`/api/filter/${currentUser?.id}/${data.username}`
);
navigate('Users', { users });
Expand Down

0 comments on commit c475772

Please sign in to comment.