mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-03-11 16:35:13 +00:00
Update caterpillar.js
This commit is contained in:
parent
7de4e4f1be
commit
d86c9728e3
|
@ -35,12 +35,12 @@ function Caterpillar(url) {
|
|||
return;
|
||||
}
|
||||
}
|
||||
this.do = function() {
|
||||
this._do = function() {
|
||||
var args = arguments;
|
||||
|
||||
if (env.method == "relay_mysql_query") {
|
||||
var query = arguments.join(' ');
|
||||
rpc.call(env.method, {
|
||||
rpc._call(env.method, {
|
||||
"hostname": env.mysql_hostname,
|
||||
"username": env.mysql_username,
|
||||
"password": env.mysql_password,
|
||||
|
@ -52,7 +52,7 @@ function Caterpillar(url) {
|
|||
return;
|
||||
}
|
||||
|
||||
rpc.call(env.method, {}, null);
|
||||
rpc._call(env.method, {}, null);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user