summary refs log tree commit diff
path: root/src/api/routes/scheduled-maintenances/upcoming_json.ts
blob: e42723a13e28d39e635b26eaf79909ab547331b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { Router, Request, Response } from "express";
import { route } from "@fosscord/api";
const router = Router();

router.get(
	"/scheduled-maintenances/upcoming.json",
	route({}),
	async (req: Request, res: Response) => {
		res.json({
			page: {},
			scheduled_maintenances: {},
		});
	},
);

export default router;