Err response didnt need the .result

This commit is contained in:
Luis Fernando Molina committed 2019-04-03 17:08:17 +02:00
1 parent 908166d4ec
commit ecd38c1de8
1 file changed
+2 -2
+2 -2
View File
@@ -166,9 +166,9 @@
trades.push(trade);
}
trades.sort((a, b) => b.tradeID - a.tradeID);
callBack(global.DEFAULT_OK_RESPONSE.result, trades);
callBack(global.DEFAULT_OK_RESPONSE, trades);
} catch (error) {
callBack(global.DEFAULT_FAIL_RESPONSE.result);
callBack(global.DEFAULT_FAIL_RESPONSE);
}
}