mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-23 13:03:08 +00:00
Fix discovery
This commit is contained in:
1 parent
fed9d528dc
commit
fcd9e9e0c9
2 files changed
+12
-10
No files matched your search
@@ -69,7 +69,7 @@ router.get(
|
||||
// discovery_weight: undefined,
|
||||
// discovery_splash: undefined,
|
||||
// })),
|
||||
guilds: guilds.map((g) => g.toDiscoverableGuild()),
|
||||
guilds: await Promise.all(guilds.map((g) => g.toDiscoverableGuild())),
|
||||
offset: Number(offset || Config.get().guild.discovery.offset),
|
||||
limit: Number(limit || configLimit),
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user