From d86c9728e31fd627e945d69fba994a5abaf9cb99 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Wed, 26 Jun 2024 17:16:35 +0900 Subject: [PATCH] Update caterpillar.js --- lib/caterpillar.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/caterpillar.js b/lib/caterpillar.js index ea522bf..465ee89 100644 --- a/lib/caterpillar.js +++ b/lib/caterpillar.js @@ -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); } }