From 4372c8efd159099635407c47f69c457dd619d351 Mon Sep 17 00:00:00 2001 From: PxlLoewe <72106766+PxlLoewe@users.noreply.github.com> Date: Tue, 22 Jul 2025 21:39:32 -0700 Subject: [PATCH] fixed condition for discord role assignment --- apps/hub-server/modules/event.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/hub-server/modules/event.ts b/apps/hub-server/modules/event.ts index 91abbfcd..c5bead02 100644 --- a/apps/hub-server/modules/event.ts +++ b/apps/hub-server/modules/event.ts @@ -34,7 +34,7 @@ export const handleParticipantFinished = async ( }, }); - if (event.discordRoleId && discordAccount) { + if (discordAccount) { await setStandardName({ memberId: discordAccount.discordId, userId: user.id,