Revision 59452
Added by Konstantina Galouni almost 4 years ago
indexInfo.service.ts | ||
---|---|---|
15 | 15 |
|
16 | 16 |
getLastIndexDate(properties: EnvProperties): Observable<any> { |
17 | 17 |
let url = properties.indexInfoAPI; |
18 |
return this.http.get((properties.useCache)? (properties.cacheUrl+encodeURIComponent(url)): url).pipe(map(res => res['claim_load_date'])).pipe(catchError(err => {return of(null)})); |
|
18 |
return this.http.get((properties.useLongCache)? (properties.cacheUrl+encodeURIComponent(url)): url).pipe(map(res => res['claim_load_date'])).pipe(catchError(err => {return of(null)}));
|
|
19 | 19 |
} |
20 | 20 |
} |
21 | 21 |
|
Also available in: Unified diff
[use-UoaAdminToolsLibrary | Library]: Merge trunk into branch.