From 5c21008016da211a3b82150ddc1316f974332621 Mon Sep 17 00:00:00 2001 From: Genar Trias Ortiz Date: Tue, 5 Dec 2017 21:04:45 +0100 Subject: [PATCH] Returning balances itself, fix #3 --- server/models/balance.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/models/balance.js b/server/models/balance.js index bab41e1..24413a2 100644 --- a/server/models/balance.js +++ b/server/models/balance.js @@ -1,5 +1,4 @@ import bittrex from 'node-bittrex-api' -import fixtures from '../fixtures/balances.json' module.exports = function (Balance) { Balance.getBalances = (cb) => { @@ -11,7 +10,7 @@ module.exports = function (Balance) { cb(err) } - cb(null, fixtures) + cb(null, data) }) }