We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7841f9 commit e5cfdb1Copy full SHA for e5cfdb1
1 file changed
server/src/ts/store/in-memory.ts
@@ -59,7 +59,7 @@ export class InMemoryStore extends Store {
59
public async *lobbySummaries(): AsyncIterableIterator<Lobby.Summary> {
60
const publicSummaries = wu(this.lobbies.entries())
61
.filter(([_, { lobby }]) => lobby.config.public)
62
- .spreadMap(Lobby.summary);
+ .map(([gameCode, { lobby }]) => Lobby.summary(gameCode, lobby));
63
for (const summary of publicSummaries) {
64
yield summary;
65
}
0 commit comments