Refactor to mono-repo + upgrade packages

This commit is contained in:
Madeline
2022-09-25 23:35:18 +10:00
parent 59d94b4894
commit f44f5d7ac2
583 changed files with 5415 additions and 114015 deletions
@@ -0,0 +1,12 @@
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;