on master help sign in
Make tank.remainingTransactions work with point number strings
e6846faFang
src/bridge/lib/tank.js+1
@@ -26,6 +26,7 @@ function sendRequest(where, what) {
26}
26}
27
27
28const remainingTransactions = point => {
28const remainingTransactions = point => {
29+ if (typeof point === 'string') point = Number(point);
29 return sendRequest('/point', {point:point});
30 return sendRequest('/point', {point:point});
30};
31};
31
32