diff --git a/lib/postgresql_interface.js b/lib/postgresql_interface.js index dec69b93..21284af2 100644 --- a/lib/postgresql_interface.js +++ b/lib/postgresql_interface.js @@ -160,7 +160,7 @@ exports.addIncomingPhone = function addIncomingPhone (session, tx, notified) { const sql = `UPDATE cash_out_txs SET phone=$1, notified=$2 WHERE session_id=$3 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) .then(results => {