summary refs log tree commit diff
path: root/api/src/routes/oauth2/tokens.ts
diff options
context:
space:
mode:
authorSamuel <34555296+Flam3rboy@users.noreply.github.com>2021-10-17 20:55:44 +0200
committerGitHub <noreply@github.com>2021-10-17 20:55:44 +0200
commit6a565df57524e5650857b55acdc5a251fefdd26c (patch)
tree81115251c478c27dcdbf911c9e2ea3d4bc4ec260 /api/src/routes/oauth2/tokens.ts
parentUpdate README.md (diff)
parentremove template comment (diff)
downloadserver-6a565df57524e5650857b55acdc5a251fefdd26c.tar.xz
Merge pull request #475 from Thesourtimes/master
return an empty array at oauth2/tokens to have a response in connections
Diffstat (limited to 'api/src/routes/oauth2/tokens.ts')
-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;