mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-24 19:32:46 +01:00
oauth2 route draft to return an empty array
This commit is contained in:
parent
7dd1873962
commit
3a118841a0
12
api/src/routes/oauth2/tokens.ts
Normal file
12
api/src/routes/oauth2/tokens.ts
Normal file
@ -0,0 +1,12 @@
|
||||
//TODO: this is a template for a generic route
|
||||
|
||||
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