fix invalid uuid bug
This commit is contained in:
parent
c60bd3f02d
commit
588335cae6
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ exports.addIncomingPhone = function addIncomingPhone (session, tx, notified) {
|
||||||
const sql = `UPDATE cash_out_txs SET phone=$1, notified=$2
|
const sql = `UPDATE cash_out_txs SET phone=$1, notified=$2
|
||||||
WHERE session_id=$3
|
WHERE session_id=$3
|
||||||
AND phone IS NULL`
|
AND phone IS NULL`
|
||||||
const values = [tx.phone, notified, session.fingerprint, tx.sessionId]
|
const values = [tx.phone, notified, tx.sessionId]
|
||||||
|
|
||||||
return db.result(sql, values)
|
return db.result(sql, values)
|
||||||
.then(results => {
|
.then(results => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue