From 120efd8d820ee1c76ca4c9504292d8101e721711 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 1 Sep 2014 17:13:51 -0700 Subject: Fix up transactions UI --- src/routes/transactions.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/routes/transactions.coffee b/src/routes/transactions.coffee index 8163748a..831baeaf 100644 --- a/src/routes/transactions.coffee +++ b/src/routes/transactions.coffee @@ -17,7 +17,7 @@ module.exports = db.lrange("#{user}:transactions", 0, -1, (err, transactions) -> txid = -> x = transactions[i++] - return x if typeof x != "number" + return x if isNaN(parseInt(x)) return user + ":transactions:" + x cb = (err, t) -> -- cgit v1.2.3