summary refs log tree commit diff
path: root/api/src/routes/applications
diff options
context:
space:
mode:
Diffstat (limited to 'api/src/routes/applications')
-rw-r--r--api/src/routes/applications/detectable.ts2
-rw-r--r--api/src/routes/applications/index.ts11
2 files changed, 12 insertions, 1 deletions
diff --git a/api/src/routes/applications/detectable.ts b/api/src/routes/applications/detectable.ts

index 411e95bf..28ce42da 100644 --- a/api/src/routes/applications/detectable.ts +++ b/api/src/routes/applications/detectable.ts
@@ -5,7 +5,7 @@ const router: Router = Router(); router.get("/", route({}), async (req: Request, res: Response) => { //TODO - res.json([]).status(200); + res.send([]).status(200); }); export default router; diff --git a/api/src/routes/applications/index.ts b/api/src/routes/applications/index.ts new file mode 100644
index 00000000..28ce42da --- /dev/null +++ b/api/src/routes/applications/index.ts
@@ -0,0 +1,11 @@ +import { Request, Response, Router } from "express"; +import { route } from "@fosscord/api"; + +const router: Router = Router(); + +router.get("/", route({}), async (req: Request, res: Response) => { + //TODO + res.send([]).status(200); +}); + +export default router;