mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-06 10:52:31 +01:00
scheduled maintenances
This commit is contained in:
parent
f8bb475086
commit
742e534e31
12
api/src/routes/scheduled-maintenances/upcoming_json.ts
Normal file
12
api/src/routes/scheduled-maintenances/upcoming_json.ts
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
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;
|
Loading…
Reference in New Issue
Block a user