summary refs log tree commit diff
path: root/api/src/routes/sticker-packs/index.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--api/src/routes/sticker-packs/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/src/routes/sticker-packs/index.ts b/api/src/routes/sticker-packs/index.ts

index d671c161..89b91bdb 100644 --- a/api/src/routes/sticker-packs/index.ts +++ b/api/src/routes/sticker-packs/index.ts
@@ -1,11 +1,11 @@ import { Request, Response, Router } from "express"; import { route } from "@fosscord/api"; +import { StickerPack } from "@fosscord/util/src/entities/StickerPack"; const router: Router = Router(); router.get("/", route({}), async (req: Request, res: Response) => { - //TODO - res.json({ sticker_packs: [] }).status(200); + res.json(await StickerPack.find({})); }); export default router;