chore: testing for null too

This commit is contained in:
Miodec 2024-02-08 16:31:47 +01:00
parent 2dfd7c2a04
commit b80a26483c

View file

@ -1364,8 +1364,10 @@ export async function getDiscordAvatarUrl(
): Promise<string | null> {
if (
discordId === undefined ||
discordId === null ||
discordId === "" ||
discordAvatar === undefined ||
discordAvatar === null ||
discordAvatar === ""
) {
return null;