summary refs log tree commit diff
path: root/api/src/routes/users/@me/email-settings.ts
blob: 2d961a0e389407b77ecf1c4f487f07ad3860f6d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;