fix start amount
This commit is contained in:
1 parent
aacba6024f
commit
098bcff5a4
1 file changed
+2
-2
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user