diff --git a/landingPages/htmlProjectReport/htmlProjectReport.service.ts b/landingPages/htmlProjectReport/htmlProjectReport.service.ts
index a50e6f1f..799ec687 100644
--- a/landingPages/htmlProjectReport/htmlProjectReport.service.ts
+++ b/landingPages/htmlProjectReport/htmlProjectReport.service.ts
@@ -1,9 +1,5 @@
import {Injectable} from '@angular/core';
-import {Http, Response} from '@angular/http';
import {HttpClient} from "@angular/common/http";
-import {Observable} from 'rxjs';
-
-import {map} from "rxjs/operators";
@Injectable()
export class HtmlProjectReportService {
@@ -33,10 +29,6 @@ export class HtmlProjectReportService {
let key = url;
- return this.http.get(url)
- .pipe(map(res => {
- let resText:any = res;
- return resText.text();
- }));
+ return this.http.get(url,{responseType: 'text'});
}
}