From 63b6392b13e0a95a7ba03770ec677e97cda436e5 Mon Sep 17 00:00:00 2001 From: regalijan Date: Thu, 19 Oct 2023 16:50:17 -0400 Subject: [PATCH] Remove discriminators from discord appeals --- functions/api/appeals/submit.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/functions/api/appeals/submit.ts b/functions/api/appeals/submit.ts index f743ea6..414ff3c 100644 --- a/functions/api/appeals/submit.ts +++ b/functions/api/appeals/submit.ts @@ -75,7 +75,6 @@ export async function onRequestPost(context: RequestContext) { id: appealId, reason_for_unban: whyUnban, user: { - discriminator: currentUser.discriminator, email: currentUser.email, id: currentUser.id, username: currentUser.username, @@ -96,7 +95,7 @@ export async function onRequestPost(context: RequestContext) { fields: [ { name: "Submitter", - value: `${currentUser.username}#${currentUser.discriminator} (${currentUser.id})`, + value: `${currentUser.username} (${currentUser.id})`, }, ], },