summary refs log tree commit diff
path: root/api/src/routes/guilds
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-07-04 19:33:47 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-07-04 19:33:47 +1000
commitf012c33d45f9b157d4a7b62642f993f97a991fb2 (patch)
tree7d1c2a70d039d1819811ac769120e89793e58571 /api/src/routes/guilds
parentMerge branch 'fix/channelPermissionOverwriteSchema' into feat/latestWebClient (diff)
downloadserver-f012c33d45f9b157d4a7b62642f993f97a991fb2.tar.xz
Placeholder member verification endpoint
Diffstat (limited to 'api/src/routes/guilds')
-rw-r--r--api/src/routes/guilds/#guild_id/member-verification.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/api/src/routes/guilds/#guild_id/member-verification.ts b/api/src/routes/guilds/#guild_id/member-verification.ts
new file mode 100644
index 00000000..265a1b35
--- /dev/null
+++ b/api/src/routes/guilds/#guild_id/member-verification.ts
@@ -0,0 +1,14 @@
+import { Router, Request, Response } from "express";
+import { route } from "@fosscord/api";
+const router = Router();
+
+router.get("/",route({}), async (req: Request, res: Response) => {
+	// TODO: member verification
+
+	res.status(404).json({
+		message: "Unknown Guild Member Verification Form",
+		code: 10068
+	});
+});
+
+export default router;