From 5e86d7ab9c5200d794c3adb2b422d20a2aefd2ce Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sat, 13 Aug 2022 02:00:50 +0200 Subject: restructure to single project --- api/src/routes/stickers/#sticker_id/index.ts | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 api/src/routes/stickers/#sticker_id/index.ts (limited to 'api/src/routes/stickers') diff --git a/api/src/routes/stickers/#sticker_id/index.ts b/api/src/routes/stickers/#sticker_id/index.ts deleted file mode 100644 index b484a7a1..00000000 --- a/api/src/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; -- cgit 1.4.1