Skip to content

Commit d8adb12

Browse files
authored
fix mgAccount #610 by lucidash
2 parents 7a17573 + f8dac99 commit d8adb12

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)