update
This commit is contained in:
parent
10c3e09014
commit
ead2d6c11a
@ -175,7 +175,7 @@ r.get('/channel/:chid/opay/bar', async (c, n) => {
|
||||
text, values
|
||||
})
|
||||
if (priceResult.rowCount > 0) {
|
||||
setting.total += priceResult.rows[0].total
|
||||
setting.total += toInt(priceResult.rows[0].total, 0, 0)
|
||||
} else {
|
||||
setting.total += 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user