Err response didnt need the .result
This commit is contained in:
1 parent
908166d4ec
commit
ecd38c1de8
1 file changed
+2
-2
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user