summary refs log tree commit diff
path: root/api/src/routes/guild-recommendations.ts
diff options
context:
space:
mode:
Diffstat (limited to 'api/src/routes/guild-recommendations.ts')
-rw-r--r--api/src/routes/guild-recommendations.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/routes/guild-recommendations.ts b/api/src/routes/guild-recommendations.ts
index 1432f39c..069e4221 100644
--- a/api/src/routes/guild-recommendations.ts
+++ b/api/src/routes/guild-recommendations.ts
@@ -7,7 +7,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;
+	let 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)) });