Showing 1 of 7 total issues
Function constructor
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor(config) {
config = config || {};
const host = config.host || '';
const apiName = config.apiName !== undefined ? config.apiName : 'api';
this.defaultHeaders = {};