diff options
Diffstat (limited to 'src/api/routes/v9/guild-recommendations.ts')
-rw-r--r-- | src/api/routes/v9/guild-recommendations.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/v9/guild-recommendations.ts b/src/api/routes/v9/guild-recommendations.ts index 8ee7fe66..a7a8040b 100644 --- a/src/api/routes/v9/guild-recommendations.ts +++ b/src/api/routes/v9/guild-recommendations.ts @@ -10,7 +10,7 @@ router.get("/", route({}), async (req: Request, res: Response) => { const { limit, personalization_disabled } = req.query; let showAllGuilds = Config.get().guild.discovery.showAllGuilds; - const genLoadId = (size: Number) => + const genLoadId = (size: number) => [...Array(size)] .map(() => Math.floor(Math.random() * 16).toString(16)) .join(""); |