From 4e6db4fa0d69ea31fa31a7a831d0cb265cd64ff1 Mon Sep 17 00:00:00 2001 From: Chase Manning Date: Thu, 29 Feb 2024 12:40:41 +0000 Subject: [PATCH] close registrations --- functions/src/registration.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions/src/registration.ts b/functions/src/registration.ts index b189e41..cae6b00 100644 --- a/functions/src/registration.ts +++ b/functions/src/registration.ts @@ -39,6 +39,8 @@ async function getDiscordData( } export default async function registrationHandler(request: Request, secrets: Secrets) { + throw new APIError("Registrations are closed"); + const params = validateParams(request.body, ...requiredKeys); const address = getUserAddress(params.signature); const db = admin.database();