diff options
author | uurgothat <cckhmck@gmail.com> | 2021-09-30 17:57:51 +0300 |
---|---|---|
committer | uurgothat <cckhmck@gmail.com> | 2021-09-30 17:57:51 +0300 |
commit | d4a216ab2e4a97d866ddd464598d6c9f0debf341 (patch) | |
tree | ce8920af6398b4edbb7baaea76b8253d12e549dc /api/src/routes/applications | |
parent | Merge pull request #402 from Thesourtimes/master (diff) | |
download | server-d4a216ab2e4a97d866ddd464598d6c9f0debf341.tar.xz |
Add misc routes
Diffstat (limited to 'api/src/routes/applications')
-rw-r--r-- | api/src/routes/applications/#id/entitlements.ts | 12 |
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; |