Skip to content

Commit

Permalink
Merge pull request #9 from TLX-Protocol/close-registrations
Browse files Browse the repository at this point in the history
Close Registrations
  • Loading branch information
chase-manning authored Mar 2, 2024
2 parents 30458d4 + 4e6db4f commit 7a27d4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions functions/src/registration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<RegistrationParams>(request.body, ...requiredKeys);
const address = getUserAddress(params.signature);
const db = admin.database();
Expand Down

0 comments on commit 7a27d4e

Please sign in to comment.