fix(core): update
This commit is contained in:
parent
a82f8ccc26
commit
8d7eb3ff5f
8
ts/00_commitinfo_data.ts
Normal file
8
ts/00_commitinfo_data.ts
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* autocreated commitinfo by @pushrocks/commitinfo
|
||||||
|
*/
|
||||||
|
export const commitinfo = {
|
||||||
|
name: '@apiglobal/typedsocket',
|
||||||
|
version: '2.0.4',
|
||||||
|
description: 'a typedrequest extension supporting websockets'
|
||||||
|
}
|
@ -188,7 +188,7 @@ export class TypedSocket {
|
|||||||
if (!payloadArg) {
|
if (!payloadArg) {
|
||||||
result = !!(await socketConnectionArg.getTagById(keyArg));
|
result = !!(await socketConnectionArg.getTagById(keyArg));
|
||||||
} else {
|
} else {
|
||||||
result = !!((await socketConnectionArg.getTagById(keyArg)).payload === payloadArg);
|
result = !!((await socketConnectionArg.getTagById(keyArg))?.payload === payloadArg);
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user