diff options
Diffstat (limited to 'src/api/routes/scheduled-maintenances/upcoming_json.ts')
-rw-r--r-- | src/api/routes/scheduled-maintenances/upcoming_json.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/api/routes/scheduled-maintenances/upcoming_json.ts b/src/api/routes/scheduled-maintenances/upcoming_json.ts new file mode 100644 index 00000000..ec4ddc7c --- /dev/null +++ b/src/api/routes/scheduled-maintenances/upcoming_json.ts @@ -0,0 +1,12 @@ +import { route } from "@fosscord/api"; +import { Request, Response, Router } from "express"; +const router = Router(); + +router.get("/scheduled-maintenances/upcoming.json", route({}), async (req: Request, res: Response) => { + res.json({ + page: {}, + scheduled_maintenances: {} + }); +}); + +export default router; |