summary refs log tree commit diff
path: root/api/src/routes/applications
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-30 17:01:32 +0200
committerGitHub <noreply@github.com>2021-09-30 17:01:32 +0200
commit677dfca95e943bfb2a9107ee47c1766849a825ed (patch)
treece8920af6398b4edbb7baaea76b8253d12e549dc /api/src/routes/applications
parentMerge pull request #402 from Thesourtimes/master (diff)
parentAdd misc routes (diff)
downloadserver-677dfca95e943bfb2a9107ee47c1766849a825ed.tar.xz
Merge pull request #403 from Thesourtimes/master
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;