summary refs log tree commit diff
path: root/api/src/routes/applications
diff options
context:
space:
mode:
authoruurgothat <cckhmck@gmail.com>2021-09-30 17:57:51 +0300
committeruurgothat <cckhmck@gmail.com>2021-09-30 17:57:51 +0300
commitd4a216ab2e4a97d866ddd464598d6c9f0debf341 (patch)
treece8920af6398b4edbb7baaea76b8253d12e549dc /api/src/routes/applications
parentMerge pull request #402 from Thesourtimes/master (diff)
downloadserver-d4a216ab2e4a97d866ddd464598d6c9f0debf341.tar.xz
Add misc routes
Diffstat (limited to 'api/src/routes/applications')
-rw-r--r--api/src/routes/applications/#id/entitlements.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/api/src/routes/applications/#id/entitlements.ts b/api/src/routes/applications/#id/entitlements.ts
new file mode 100644
index 00000000..1152e500
--- /dev/null
+++ b/api/src/routes/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;