summary refs log tree commit diff
path: root/api/src/routes
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--api/src/routes/discoverable-guilds.ts14
1 files changed, 0 insertions, 14 deletions
diff --git a/api/src/routes/discoverable-guilds.ts b/api/src/routes/discoverable-guilds.ts
deleted file mode 100644

index 6ff43cdc..00000000 --- a/api/src/routes/discoverable-guilds.ts +++ /dev/null
@@ -1,14 +0,0 @@ -import { Guild } from "@fosscord/util"; -import { Router, Request, Response } from "express"; -import { In } from "typeorm"; - -const router = Router(); - -router.get("/", async (req: Request, res: Response) => { - const { limit } = req.params; - - const guilds = await Guild.find({ where: { features: "PENIS" } }); //, take: Math.abs(Number(limit)) }); - res.send({ guilds: guilds }); -}); - -export default router;