1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-23 19:02:37 +01:00

Remove todo line that has been implemented.

This commit is contained in:
TheArcaneBrony 2022-08-08 22:51:01 +02:00
parent 26293f37a1
commit 33158d02de
No known key found for this signature in database
GPG Key ID: 32FC5AAADAD75A22

View File

@ -11,7 +11,6 @@ router.get("/", route({}), async (req: Request, res: Response) => {
let showAllGuilds = Config.get().guild.discovery.showAllGuilds;
let configLimit = Config.get().guild.discovery.limit;
// ! 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)) });
let guilds;
if (categories == undefined) {