summary refs log tree commit diff
path: root/api/src/routes/stickers/#sticker_id
diff options
context:
space:
mode:
Diffstat (limited to 'api/src/routes/stickers/#sticker_id')
-rw-r--r--api/src/routes/stickers/#sticker_id/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/routes/stickers/#sticker_id/index.ts b/api/src/routes/stickers/#sticker_id/index.ts
index 293ca089..b484a7a1 100644
--- a/api/src/routes/stickers/#sticker_id/index.ts
+++ b/api/src/routes/stickers/#sticker_id/index.ts
@@ -6,7 +6,7 @@ const router = Router();
 router.get("/", route({}), async (req: Request, res: Response) => {
 	const { sticker_id } = req.params;
 
-	res.json(await Sticker.find({ id: sticker_id }));
+	res.json(await Sticker.find({ where: { id: sticker_id } }));
 });
 
 export default router;