Revision 61263
Added by Konstantinos Triantafyllou almost 3 years ago
htmlProjectReport.service.ts | ||
---|---|---|
1 | 1 |
import {Injectable} from '@angular/core'; |
2 | 2 |
import {HttpClient} from "@angular/common/http"; |
3 |
import {timeout} from "rxjs/operators"; |
|
3 | 4 |
|
4 | 5 |
@Injectable() |
5 | 6 |
export class HtmlProjectReportService { |
... | ... | |
12 | 13 |
//'((oaftype exact result) and (resulttypeid exact "'+resultTypeId+'")) and |
13 | 14 |
'(relprojectid exact "'+id+'"))'; |
14 | 15 |
|
15 |
return this.http.get(url,{responseType: 'text'}); |
|
16 |
return this.http.get(url,{responseType: 'text'}).pipe(timeout(10000));
|
|
16 | 17 |
} |
17 | 18 |
} |
Also available in: Unified diff
[Library | Angular 11]: Merge changes from trunk