Skip to content

Commit

Permalink
fix(page): fix unlinked accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
flowergardn committed Apr 13, 2024
1 parent 60f19d0 commit 28ffddc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/PronounsAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ export const getUserByDiscord = async (discordId: string): Promise<User> => {
console.log(err);
}

if (resp.data == 'null') return null;

const user = getUser(resp.data);
dataCache.set(discordId, user);

Expand Down

0 comments on commit 28ffddc

Please sign in to comment.