fix start amount
This commit is contained in:
parent
aacba6024f
commit
098bcff5a4
@ -175,9 +175,9 @@ r.get('/channel/:chid/opay/bar', async (c, n) => {
|
||||
text, values
|
||||
})
|
||||
if (priceResult.rowCount > 0) {
|
||||
setting.total = priceResult.rows[0].total
|
||||
setting.total += priceResult.rows[0].total
|
||||
} else {
|
||||
setting.total = 0
|
||||
setting.total += 0
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user