summary refs log tree commit diff
path: root/api/src/routes/users/@me/email-settings.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-25 18:24:21 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-25 23:35:18 +1000
commit0d23eaba09a4878520bf346af4cead90d76829fc (patch)
treed930eacceff0b407b44abe55f01d8e3c5dfbfa34 /api/src/routes/users/@me/email-settings.ts
parentAllow edited_timestamp to passthrough in handleMessage (diff)
downloadserver-0d23eaba09a4878520bf346af4cead90d76829fc.tar.xz
Refactor to mono-repo + upgrade packages
Diffstat (limited to 'api/src/routes/users/@me/email-settings.ts')
-rw-r--r--api/src/routes/users/@me/email-settings.ts20
1 files changed, 0 insertions, 20 deletions
diff --git a/api/src/routes/users/@me/email-settings.ts b/api/src/routes/users/@me/email-settings.ts
deleted file mode 100644
index 3114984e..00000000
--- a/api/src/routes/users/@me/email-settings.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-import { Router, Response, Request } from "express";
-import { route } from "@fosscord/api";
-
-const router = Router();
-
-router.get("/", route({}), (req: Request, res: Response) => {
-	// TODO:
-	res.json({
-		categories: {
-			social: true,
-			communication: true,
-			tips: false,
-			updates_and_announcements: false,
-			recommendations_and_events: false
-		},
-		initialized: false
-	}).status(200);
-});
-
-export default router;