diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-14 22:15:55 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-14 22:15:55 +0200 |
commit | f691aa4c5aa47c8a8085c7b01912a1c403ce8732 (patch) | |
tree | 532673ee0955f5eec2c8a33c7abad8ed64dc9a48 /api/src/routes/guilds | |
parent | fix #129 (diff) | |
download | server-f691aa4c5aa47c8a8085c7b01912a1c403ce8732.tar.xz |
:construction: webhook
Diffstat (limited to 'api/src/routes/guilds')
-rw-r--r-- | api/src/routes/guilds/#guild_id/integrations.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/api/src/routes/guilds/#guild_id/integrations.ts b/api/src/routes/guilds/#guild_id/integrations.ts new file mode 100644 index 00000000..f6b8e99d --- /dev/null +++ b/api/src/routes/guilds/#guild_id/integrations.ts @@ -0,0 +1,10 @@ +import { route } from "@fosscord/api"; +import { Router, Request, Response } from "express"; +const router = Router(); + +router.get("/", route({ permission: "MANAGE_GUILD" }), async (req: Request, res: Response) => { + // TODO: integrations (followed channels, youtube, twitch) + res.send([]); +}); + +export default router; |