summary refs log tree commit diff
path: root/src/api/routes/stickers
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-01-14 13:08:48 +0100
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-01-14 13:08:48 +0100
commit66df10d6b02cb1bed437665bc293dbcd5b9c73ff (patch)
treec3aa28e8a0f80a25260512c1dfb9c760c54f671c /src/api/routes/stickers
parentUpdate openapi (diff)
downloadserver-66df10d6b02cb1bed437665bc293dbcd5b9c73ff.tar.xz
Move endpoints to respective versions, split out non implemented routes
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
Diffstat (limited to 'src/api/routes/stickers')
-rw-r--r--src/api/routes/stickers/#sticker_id/index.ts12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/api/routes/stickers/#sticker_id/index.ts b/src/api/routes/stickers/#sticker_id/index.ts
deleted file mode 100644
index b484a7a1..00000000
--- a/src/api/routes/stickers/#sticker_id/index.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import { Sticker } from "@fosscord/util";
-import { Router, Request, Response } from "express";
-import { route } from "@fosscord/api";
-const router = Router();
-
-router.get("/", route({}), async (req: Request, res: Response) => {
-	const { sticker_id } = req.params;
-
-	res.json(await Sticker.find({ where: { id: sticker_id } }));
-});
-
-export default router;