From 3279e565663879274135f7f41b043836f02cc12e Mon Sep 17 00:00:00 2001 From: "argiro.kokogiannaki" Date: Wed, 16 Sep 2020 09:43:59 +0000 Subject: [PATCH] [Library|Trunk] index info service: use long cache property git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59395 d315682c-612b-4755-9ff5-7f18f6832af3 --- utils/indexInfo.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/indexInfo.service.ts b/utils/indexInfo.service.ts index dc653951..579d6713 100644 --- a/utils/indexInfo.service.ts +++ b/utils/indexInfo.service.ts @@ -15,7 +15,7 @@ export class IndexInfoService { getLastIndexDate(properties: EnvProperties): Observable { let url = properties.indexInfoAPI; - return this.http.get((properties.useCache)? (properties.cacheUrl+encodeURIComponent(url)): url).pipe(map(res => res['claim_load_date'])).pipe(catchError(err => {return of(null)})); + return this.http.get((properties.useLongCache)? (properties.cacheUrl+encodeURIComponent(url)): url).pipe(map(res => res['claim_load_date'])).pipe(catchError(err => {return of(null)})); } }