From 55d1ccbca726a95e715c492199ebe8aaac94741b Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sun, 9 Nov 2025 06:14:22 +0000 Subject: [PATCH] completionId: cgen-ca8395e936724ad7b287aa5e42ec2da9 cgen-ca8395e936724ad7b287aa5e42ec2da9 --- server/index.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/server/index.ts b/server/index.ts index d4998784..6dc708dc 100644 --- a/server/index.ts +++ b/server/index.ts @@ -106,7 +106,6 @@ const handleDiscordInteractions = ( // /verify command - Generate verification code and link if (commandName === "verify") { try { - const supabase = createSupabaseClient(); const discordId = interaction.member?.user?.id; if (!discordId) { @@ -125,7 +124,7 @@ const handleDiscordInteractions = ( const expiresAt = new Date(Date.now() + 15 * 60 * 1000).toISOString(); // 15 min // Store verification code in Supabase - const { error } = await supabase + const { error } = await adminSupabase .from("discord_verifications") .insert([ { @@ -231,7 +230,7 @@ const handleDiscordInteractions = ( return res.json({ type: 4, data: { - content: `✅ **Discord Roles**\n\nYour assigned AeThex roles are shown below.\n\n📊 [View Full Profile](https://aethex.dev/profile)`, + content: `✅ **Discord Roles**\n\nYour assigned AeThex roles are shown below.\n\n���� [View Full Profile](https://aethex.dev/profile)`, flags: 0, }, });