summary refs log tree commit diff
path: root/src/api/routes/guilds/#guild_id/integrations.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-08-22 22:08:22 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-08-22 22:08:22 +1000
commit975c414434ee08622126bdeb4060532029413c18 (patch)
treea46b7f33a150963f6b8d3515225574610325713f /src/api/routes/guilds/#guild_id/integrations.ts
parentMerge branch 'master' into fix/claim_accounts (diff)
parentMerge remote-tracking branch 'Puyodead1/patch/prettier-config' into staging (diff)
downloadserver-975c414434ee08622126bdeb4060532029413c18.tar.xz
Merge remote-tracking branch 'upstream/staging' into fix/claim_accounts
Diffstat (limited to 'src/api/routes/guilds/#guild_id/integrations.ts')
-rw-r--r--src/api/routes/guilds/#guild_id/integrations.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/api/routes/guilds/#guild_id/integrations.ts b/src/api/routes/guilds/#guild_id/integrations.ts
new file mode 100644
index 00000000..90650111
--- /dev/null
+++ b/src/api/routes/guilds/#guild_id/integrations.ts
@@ -0,0 +1,11 @@
+import { Router, Response, Request } from "express";
+import { Channel, ChannelUpdateEvent, getPermission, emitEvent } from "@fosscord/util";
+import { HTTPError } from "@fosscord/util";
+import { route } from "@fosscord/api";
+const router = Router();
+
+//TODO: implement integrations list
+router.get("/", route({}), async (req: Request, res: Response) => {
+	res.json([]);
+});
+export default router;