summary refs log tree commit diff
path: root/api/src/routes/applications/detectable.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-23 17:03:36 +0200
committerGitHub <noreply@github.com>2021-09-23 17:03:36 +0200
commit5823f8efb4d1335281b64bfcaddf33bd9453cf08 (patch)
tree08c4420554b707d7207da6c2a9f15b4fcdf87e61 /api/src/routes/applications/detectable.ts
parentMerge pull request #394 from ChrisChrome/erlpack-fix (diff)
parent:bug: prepare/postinstall only works for packages not local npm install (diff)
downloadserver-5823f8efb4d1335281b64bfcaddf33bd9453cf08.tar.xz
Merge pull request #372 from fosscord/unittests
Automatic Unittests + documentation
Diffstat (limited to 'api/src/routes/applications/detectable.ts')
-rw-r--r--api/src/routes/applications/detectable.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/api/src/routes/applications/detectable.ts b/api/src/routes/applications/detectable.ts

index e4fbe1e4..411e95bf 100644 --- a/api/src/routes/applications/detectable.ts +++ b/api/src/routes/applications/detectable.ts
@@ -1,10 +1,11 @@ import { Request, Response, Router } from "express"; +import { route } from "@fosscord/api"; const router: Router = Router(); -router.get("/", async (req: Request, res: Response) => { +router.get("/", route({}), async (req: Request, res: Response) => { //TODO res.json([]).status(200); }); -export default router; \ No newline at end of file +export default router;