diff options
author | AlTech98 <altech123159@gmail.com> | 2021-09-16 21:31:39 +0200 |
---|---|---|
committer | AlTech98 <altech123159@gmail.com> | 2021-09-16 21:31:39 +0200 |
commit | e65e45d01d8021f3ce1ec9a0f4ab8f3ee89224b9 (patch) | |
tree | bbd12c24174df8031e48fd457c0e7b963646702d /api/src/routes/sticker-packs | |
parent | Gateway permission check fix (diff) | |
download | server-e65e45d01d8021f3ce1ec9a0f4ab8f3ee89224b9.tar.xz |
Dummy sticker-packs routes
Diffstat (limited to 'api/src/routes/sticker-packs')
-rw-r--r-- | api/src/routes/sticker-packs/#id/index.ts | 18 | ||||
-rw-r--r-- | api/src/routes/sticker-packs/index.ts | 10 |
2 files changed, 28 insertions, 0 deletions
diff --git a/api/src/routes/sticker-packs/#id/index.ts b/api/src/routes/sticker-packs/#id/index.ts new file mode 100644 index 00000000..2344a48f --- /dev/null +++ b/api/src/routes/sticker-packs/#id/index.ts @@ -0,0 +1,18 @@ +import { Request, Response, Router } from "express"; + +const router: Router = Router(); + +router.get("/", async (req: Request, res: Response) => { + //TODO + res.json({ + id: "", + stickers: [], + name: "", + sku_id: "", + cover_sticker_id: "", + description: "", + banner_asset_id: "" + }).status(200); +}); + +export default router; \ No newline at end of file diff --git a/api/src/routes/sticker-packs/index.ts b/api/src/routes/sticker-packs/index.ts new file mode 100644 index 00000000..6c4e46d8 --- /dev/null +++ b/api/src/routes/sticker-packs/index.ts @@ -0,0 +1,10 @@ +import { Request, Response, Router } from "express"; + +const router: Router = Router(); + +router.get("/", async (req: Request, res: Response) => { + //TODO + res.json({ sticker_packs: [] }).status(200); +}); + +export default router; \ No newline at end of file |