summary refs log tree commit diff
path: root/api/src/routes/science.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-12 23:28:56 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-12 23:28:56 +0200
commit6ba9c834bd2d5f4fac07e3fb9ded2625ce3c44ad (patch)
tree27c5de63307dc170b0dfa02140b14a306ed55514 /api/src/routes/science.ts
parent:construction: :sparkles: new body parser (bans route) (diff)
downloadserver-6ba9c834bd2d5f4fac07e3fb9ded2625ce3c44ad.tar.xz
:sparkles: #307 done
Diffstat (limited to 'api/src/routes/science.ts')
-rw-r--r--api/src/routes/science.ts3
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);
 });