Skip to content

Commit f8dac99

Browse files
committed
fix wrong bracket. Fixes #610
1 parent 7a17573 commit f8dac99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node-binance-api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4683,7 +4683,7 @@ let api = function Binance( options = {} ) {
46834683
* @return {undefined}
46844684
*/
46854685
mgAccount: function( callback ,isIsolated = false) {
4686-
const endpoint = 'v1/margin' + (isIsolated)?'/isolated':'' + '/account'
4686+
const endpoint = 'v1/margin' + (isIsolated?'/isolated':'') + '/account'
46874687
signedRequest( sapi + endpoint, {}, function( error, data ) {
46884688
if( callback ) return callback( error, data );
46894689
} );

0 commit comments

Comments
 (0)