this.defaults['text/x-yaml'] = nsData.toString();
this.defaults['text/json'] = JSON.stringify(getJson, null, '\t');
this.isLoadingResults = false;
}, (error: ERRORDATA) => {
error.error = typeof error.error === 'string' ? jsyaml.load(error.error) : error.error;
if (error.error.status === HttpStatus.NOT_FOUND || error.error.status === HttpStatus.UNAUTHORIZED ) {
this.defaults['text/x-yaml'] = nsData.toString();
this.defaults['text/json'] = JSON.stringify(getJson, null, '\t');
this.isLoadingResults = false;
}, (error: ERRORDATA) => {
error.error = typeof error.error === 'string' ? jsyaml.load(error.error) : error.error;
if (error.error.status === HttpStatus.NOT_FOUND || error.error.status === HttpStatus.UNAUTHORIZED ) {