fix(core): update

This commit is contained in:
2019-09-10 18:03:46 +02:00
parent da6b7724b8
commit f9f0fc45e2
6 changed files with 24 additions and 12 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ export class UniverseChannel {
public async push(messageArg: UniverseMessage) {
this.subject.next(messageArg);
const universeConnectionsWithChannelAccess: UniverseConnection[] = [];
this.universeRef.universeCache.connectionMap.forEach(async socketConnection => {
await this.universeRef.universeCache.connectionMap.forEach(async socketConnection => {
if (socketConnection.authenticatedChannels.includes(this)) {
universeConnectionsWithChannelAccess.push(socketConnection);
}