1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-07 03:12:39 +01:00

Merge pull request #353 from AlTech98/dummy-routes

Add dummy missing routes
This commit is contained in:
Flam3rboy 2021-09-12 19:40:15 +02:00 committed by GitHub
commit ebb9aefae4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 51 additions and 1 deletions

View File

@ -0,0 +1,10 @@
import { Request, Response, Router } from "express";
const router: Router = Router();
router.get("/", async (req: Request, res: Response) => {
//TODO
res.json([]).status(200);
});
export default router;

View File

@ -0,0 +1,10 @@
import { Request, Response, Router } from "express";
const router: Router = Router();
router.get("/", async (req: Request, res: Response) => {
//TODO
res.json([]).status(200);
});
export default router;

View File

@ -3,7 +3,7 @@ import { Router, Response, Request } from "express";
const router = Router();
router.get("/", (req: Request, res: Response) => {
// TODO:
//TODO
res.status(200).send({ user_affinities: [], inverse_user_affinities: [] });
});

View File

@ -0,0 +1,10 @@
import { Request, Response, Router } from "express";
const router: Router = Router();
router.get("/", async (req: Request, res: Response) => {
//TODO
res.json([]).status(200);
});
export default router;

View File

@ -0,0 +1,10 @@
import { Request, Response, Router } from "express";
const router: Router = Router();
router.get("/", async (req: Request, res: Response) => {
//TODO
res.json({ "country_code": "US" }).status(200);
});
export default router;

View File

@ -0,0 +1,10 @@
import { Request, Response, Router } from "express";
const router: Router = Router();
router.get("/", async (req: Request, res: Response) => {
//TODO
res.json([]).status(200);
});
export default router;