fix
This commit is contained in:
@@ -62,10 +62,12 @@ export class FrontblockConfigLib{
|
||||
return res
|
||||
} )()` )
|
||||
}
|
||||
|
||||
private unhookGenerator(fnName, fnArgs): Function{
|
||||
return eval( `( () => async (`+fnArgs+`) => {
|
||||
const r = await this.socket.call("`+fnName+`", `+fnArgs+`)
|
||||
const res = await this.parseResponse(r)
|
||||
console.log(res)
|
||||
if(res.uid != null)
|
||||
this.socket.unhook(res.uid)
|
||||
return res
|
||||
|
||||
Reference in New Issue
Block a user