diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-25 18:24:21 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-25 23:35:18 +1000 |
commit | f44f5d7ac2d24ff836c2e1d4b2fa58da04b13052 (patch) | |
tree | a6655c41bb3db79c30fd876b06ee60fe9cf70c9b /api/src/routes/stickers/#sticker_id | |
parent | Allow edited_timestamp to passthrough in handleMessage (diff) | |
download | server-f44f5d7ac2d24ff836c2e1d4b2fa58da04b13052.tar.xz |
Refactor to mono-repo + upgrade packages
Diffstat (limited to 'api/src/routes/stickers/#sticker_id')
-rw-r--r-- | api/src/routes/stickers/#sticker_id/index.ts | 12 |
1 files changed, 0 insertions, 12 deletions
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 293ca089..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({ id: sticker_id })); -}); - -export default router; |