fix(core): update
This commit is contained in:
parent
5911d829f9
commit
4c5abc89b8
@ -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;
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user