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') })