From a02212bbb7d74156d3f2e3ed9943e57dd8b359e5 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 23 Aug 2018 00:23:16 +0800 Subject: [PATCH] remove console.log --- route/api/twitch/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/route/api/twitch/index.js b/route/api/twitch/index.js index cdc584a..9e39961 100644 --- a/route/api/twitch/index.js +++ b/route/api/twitch/index.js @@ -132,13 +132,11 @@ r.put('/channel/:chid/opay/setting', checkSession, getChannelList, hasChannel('c "target_amount" = $4, "title" = $5` let values = [c.state.channel.id, sd, ed, amount, c.request.body.title] - let result = await c.db.query({ + await c.db.query({ text, values }) - console.log(result) - c.obj = resObject('Success') })