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:
commit
ebb9aefae4
10
api/src/routes/applications/detectable.ts
Normal file
10
api/src/routes/applications/detectable.ts
Normal 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;
|
10
api/src/routes/outbound-promotions.ts
Normal file
10
api/src/routes/outbound-promotions.ts
Normal 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;
|
@ -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: [] });
|
||||
});
|
||||
|
@ -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;
|
10
api/src/routes/users/@me/billing/country-code.ts
Normal file
10
api/src/routes/users/@me/billing/country-code.ts
Normal 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;
|
10
api/src/routes/users/@me/billing/subscriptions.ts
Normal file
10
api/src/routes/users/@me/billing/subscriptions.ts
Normal 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;
|
Loading…
Reference in New Issue
Block a user