fix(cmd): call to apply
This commit is contained in:
parent
2310bd29f2
commit
a16da9a4cf
1 changed files with 1 additions and 1 deletions
2
main.js
2
main.js
|
@ -76,7 +76,7 @@ let CreateClient = (token, user_id) => {
|
|||
args.push(matrixClient, room, userInput, registrar);
|
||||
}
|
||||
|
||||
registrar[command] && registrar[command].runQuery.call(null, args);
|
||||
registrar[command] && registrar[command].runQuery.apply(null, args);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue