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 28ffddc commit daa0d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/PronounsAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const getUserByDiscord = async (discordId: string): Promise<User> => {
console.log(err);
}

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

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

0 comments on commit daa0d79

Please sign in to comment.