diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-12 23:28:56 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-12 23:28:56 +0200 |
commit | 6ba9c834bd2d5f4fac07e3fb9ded2625ce3c44ad (patch) | |
tree | 27c5de63307dc170b0dfa02140b14a306ed55514 /api/src/routes/science.ts | |
parent | :construction: :sparkles: new body parser (bans route) (diff) | |
download | server-6ba9c834bd2d5f4fac07e3fb9ded2625ce3c44ad.tar.xz |
:sparkles: #307 done
Diffstat (limited to 'api/src/routes/science.ts')
-rw-r--r-- | api/src/routes/science.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/api/src/routes/science.ts b/api/src/routes/science.ts index b16ef783..8556a3ad 100644 --- a/api/src/routes/science.ts +++ b/api/src/routes/science.ts @@ -1,8 +1,9 @@ import { Router, Response, Request } from "express"; +import { route } from "@fosscord/api"; const router = Router(); -router.post("/", (req: Request, res: Response) => { +router.post("/", route({}), (req: Request, res: Response) => { // TODO: res.sendStatus(204); }); |