From 909a71ff898927ab837b87dea6ef52ee72e10555 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Sat, 14 Jan 2023 13:14:52 +0100 Subject: Move rest of endpoints that return nothing into v0 Signed-off-by: TheArcaneBrony --- src/api/routes/v0/applications/#id/entitlements.ts | 12 ++++++++++++ src/api/routes/v9/applications/#id/entitlements.ts | 12 ------------ 2 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 src/api/routes/v0/applications/#id/entitlements.ts delete mode 100644 src/api/routes/v9/applications/#id/entitlements.ts (limited to 'src') diff --git a/src/api/routes/v0/applications/#id/entitlements.ts b/src/api/routes/v0/applications/#id/entitlements.ts new file mode 100644 index 00000000..cfcfe40f --- /dev/null +++ b/src/api/routes/v0/applications/#id/entitlements.ts @@ -0,0 +1,12 @@ +import { Router, Response, Request } from "express"; +import { route } from "@fosscord/api"; + +const router = Router(); + +router.get("/", route({}), (req: Request, res: Response) => { + // TODO: + //const { exclude_consumed } = req.query; + res.status(200).send([]); +}); + +export default router; diff --git a/src/api/routes/v9/applications/#id/entitlements.ts b/src/api/routes/v9/applications/#id/entitlements.ts deleted file mode 100644 index cfcfe40f..00000000 --- a/src/api/routes/v9/applications/#id/entitlements.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Router, Response, Request } from "express"; -import { route } from "@fosscord/api"; - -const router = Router(); - -router.get("/", route({}), (req: Request, res: Response) => { - // TODO: - //const { exclude_consumed } = req.query; - res.status(200).send([]); -}); - -export default router; -- cgit 1.5.1