summary refs log tree commit diff
path: root/src/api/routes/guild-recommendations.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/api/routes/guild-recommendations.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/api/routes/guild-recommendations.ts b/src/api/routes/guild-recommendations.ts
index bda37973..302bbb9c 100644
--- a/src/api/routes/guild-recommendations.ts
+++ b/src/api/routes/guild-recommendations.ts
@@ -9,10 +9,7 @@ const router = Router();
 router.get("/", route({}), async (req: Request, res: Response) => {
 	const { limit, personalization_disabled } = req.query;
 	var showAllGuilds = Config.get().guild.discovery.showAllGuilds;
-	// ! this only works using SQL querys
-	// TODO: implement this with default typeorm query
-	// const guilds = await Guild.find({ where: { features: "DISCOVERABLE" } }); //, take: Math.abs(Number(limit)) });
-
+	
 	const genLoadId = (size: Number) =>
 		[...Array(size)]
 			.map(() => Math.floor(Math.random() * 16).toString(16))