From f391a6043add15eb7e0fd33b0f891fafeda446b9 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 23 Aug 2018 23:39:53 +0800 Subject: [PATCH] fuck .... --- route/api/twitch/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/route/api/twitch/index.js b/route/api/twitch/index.js index 4254a60..b227401 100644 --- a/route/api/twitch/index.js +++ b/route/api/twitch/index.js @@ -173,7 +173,7 @@ r.get('/channel/:chid/opay/bar', async (c, n) => { text, values }) if (priceResult.rowCount > 0) { - setting.total = priceResult.rows[0].price + setting.total = priceResult.rows[0].total } else { setting.total = 0 }