rename cartridge to cassette

This commit is contained in:
Josh Harvey 2017-04-24 01:20:00 +03:00
parent cc32bc39e8
commit 8674816d27
9 changed files with 67 additions and 66 deletions

View file

@ -49,7 +49,7 @@ function toObj (row) {
function fetchPhoneTx (phone) {
const sql = `select * from cash_out_txs
where phone=$1 and dispensed=$2
where phone=$1 and dispense=$2
and (extract(epoch from (coalesce(confirmation_time, now()) - created))) * 1000 < $3`
const values = [phone, false, TRANSACTION_EXPIRATION]