dummy routes (prevent errors in client)
This commit is contained in:
parent
8599b25a37
commit
cf9007ddce
10
src/routes/users/@me/affinities/guilds.ts
Normal file
10
src/routes/users/@me/affinities/guilds.ts
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
import { Router } from "express";
|
||||||
|
|
||||||
|
const router = Router();
|
||||||
|
|
||||||
|
router.get("/", (req, res) => {
|
||||||
|
// TODO:
|
||||||
|
res.status(200).send({ guild_affinities: [] });
|
||||||
|
});
|
||||||
|
|
||||||
|
export default router;
|
10
src/routes/users/@me/library.ts
Normal file
10
src/routes/users/@me/library.ts
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
import { Router } from "express";
|
||||||
|
|
||||||
|
const router = Router();
|
||||||
|
|
||||||
|
router.get("/", (req, res) => {
|
||||||
|
// TODO:
|
||||||
|
res.status(200).send([]);
|
||||||
|
});
|
||||||
|
|
||||||
|
export default router;
|
10
src/routes/users/@me/settings.ts
Normal file
10
src/routes/users/@me/settings.ts
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
import { Router } from "express";
|
||||||
|
|
||||||
|
const router = Router();
|
||||||
|
|
||||||
|
router.patch("/", (req, res) => {
|
||||||
|
// TODO:
|
||||||
|
res.sendStatus(204);
|
||||||
|
});
|
||||||
|
|
||||||
|
export default router;
|
Loading…
x
Reference in New Issue
Block a user