Skip to content

Commit

Permalink
fix: username query parsing (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xPenryn authored Nov 1, 2024
1 parent 9e24a70 commit b71e5ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/helpers/usernames/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ export const getUserProfile = async (address: string) => {
})
})

const data = await res.json();
return data.usernames[0] ?? { username: null, profilePictureUrl: null };
const usernames = await res.json();
return usernames[0] ?? { username: null, profilePictureUrl: null };
};

0 comments on commit b71e5ee

Please sign in to comment.