Missing parenthesis in line 4813 function _mgAccount_. ```js endpoint += (isIsolated)?'/isolated':'' + '/account'; ``` to ```js endpoint += ((isIsolated)?'/isolated':'') + '/account'; ``` Context (corrected): ```js /** * Margin account details * @param {function} callback - the callback function * @param {boolean} isIsolated - the callback function * @return {undefined} */ mgAccount: function( callback ,isIsolated = false) { let endpoint = 'v1/margin'; endpoint += ((isIsolated)?'/isolated':'') + '/account'; signedRequest( sapi + endpoint, {}, function( error, data ) { if( callback ) return callback( error, data ); } ); }, ```
Activity