diff --git a/route/api/twitch/index.js b/route/api/twitch/index.js index 543cc7a..4254a60 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.row[0].price + setting.total = priceResult.rows[0].price } else { setting.total = 0 }