diff --git a/app/actions/discord.ts b/app/actions/discord.ts index aa339ae..035658f 100644 --- a/app/actions/discord.ts +++ b/app/actions/discord.ts @@ -73,7 +73,7 @@ export async function getDiscordMemberProfile(discordId: string) { headers: { Authorization: `Bot ${token}` }, cache: "no-store", }), - getGuildRoles() + getGuildRoles().catch(() => []) // Fallback to empty array if unauthorized ]); if (!memberRes.ok) return null;