fix(core): update
This commit is contained in:
parent
5911d829f9
commit
4c5abc89b8
@ -186,9 +186,9 @@ export class TypedSocket {
|
|||||||
return this.findAllTargetConnections(async socketConnectionArg => {
|
return this.findAllTargetConnections(async socketConnectionArg => {
|
||||||
let result: boolean;
|
let result: boolean;
|
||||||
if (!payloadArg) {
|
if (!payloadArg) {
|
||||||
result = !!socketConnectionArg.getTagById(keyArg);
|
result = !!(await socketConnectionArg.getTagById(keyArg));
|
||||||
} else {
|
} else {
|
||||||
result = !!socketConnectionArg.getTagById(keyArg) === payloadArg;
|
result = !!(await socketConnectionArg.getTagById(keyArg)) === payloadArg;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user