From 8e22a211d1f7a371c59f649e95112e61bb3a7ac8 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Wed, 26 Apr 2023 19:51:25 -0700 Subject: [PATCH] fix: add route --- packages/backend/src/server/api/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/backend/src/server/api/index.ts b/packages/backend/src/server/api/index.ts index b8e4231655..06b3ea4efa 100644 --- a/packages/backend/src/server/api/index.ts +++ b/packages/backend/src/server/api/index.ts @@ -20,6 +20,7 @@ import handler from "./api-handler.js"; import signup from "./private/signup.js"; import signin from "./private/signin.js"; import signupPending from "./private/signup-pending.js"; +import verifyEmail from "./private/verify-email.js"; import discord from "./service/discord.js"; import github from "./service/github.js"; import twitter from "./service/twitter.js"; @@ -177,6 +178,7 @@ for (const endpoint of [...endpoints, ...compatibility]) { router.post("/signup", signup); router.post("/signin", signin); router.post("/signup-pending", signupPending); +router.post("/verify-email", verifyEmail); router.use(discord.routes()); router.use(github.routes());