fix(core): update

This commit is contained in:
Philipp Kunz 2022-03-08 00:03:42 +01:00
parent 5911d829f9
commit 4c5abc89b8

View File

@ -186,9 +186,9 @@ export class TypedSocket {
return this.findAllTargetConnections(async socketConnectionArg => {
let result: boolean;
if (!payloadArg) {
result = !!socketConnectionArg.getTagById(keyArg);
result = !!(await socketConnectionArg.getTagById(keyArg));
} else {
result = !!socketConnectionArg.getTagById(keyArg) === payloadArg;
result = !!(await socketConnectionArg.getTagById(keyArg)) === payloadArg;
}
return result;
})