mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-14 06:32:36 +01:00
Merge pull request #475 from Thesourtimes/master
return an empty array at oauth2/tokens to have a response in connections
This commit is contained in:
commit
6a565df575
10
api/src/routes/oauth2/tokens.ts
Normal file
10
api/src/routes/oauth2/tokens.ts
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user