summary refs log tree commit diff
path: root/api
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-17 22:28:16 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-17 22:28:16 +0200
commitae5fd086a2f472026ae7e8eb0af237bcce22e543 (patch)
tree9c79ffaf07b0937e123adc7f2d5df0b9bf39cd64 /api
parent:bug: also receive events for newly added members/relationships (diff)
parentMerge pull request #475 from Thesourtimes/master (diff)
downloadserver-ae5fd086a2f472026ae7e8eb0af237bcce22e543.tar.xz
Merge branch 'master' of http://github.com/fosscord/fosscord-server
Diffstat (limited to 'api')
-rw-r--r--api/src/routes/oauth2/tokens.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/api/src/routes/oauth2/tokens.ts b/api/src/routes/oauth2/tokens.ts
new file mode 100644
index 00000000..3657176d
--- /dev/null
+++ b/api/src/routes/oauth2/tokens.ts
@@ -0,0 +1,10 @@
+import { Router, Request, Response } from "express";
+import { route } from "@fosscord/api";
+const router = Router();
+
+router.get("/",route({}), async (req: Request, res: Response) => {
+    //TODO
+	res.json([]);
+});
+
+export default router;