blob: 89b91bdb24295398bc007019cd89483cdda3a751 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
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) => {
res.json(await StickerPack.find({}));
});
export default router;
|