angular-16-community-projects-availableSince #15

Merged
k.triantafyllou merged 2 commits from angular-16-community-projects-availableSince into angular-16 2023-10-26 15:47:34 +02:00
1 changed files with 4 additions and 0 deletions
Showing only changes of commit 065d73bb3e - Show all commits

View File

@ -25,6 +25,10 @@ export class IndexInfoService {
let url = properties.indexInfoAPI; let url = properties.indexInfoAPI;
return this.http.get((properties.useLongCache)? (properties.cacheUrl+encodeURIComponent(url)): url).pipe(map(res => res['orcid_update_date'])).pipe(catchError(err => {return of(null)})); return this.http.get((properties.useLongCache)? (properties.cacheUrl+encodeURIComponent(url)): url).pipe(map(res => res['orcid_update_date'])).pipe(catchError(err => {return of(null)}));
} }
getDBLoadLastDate(properties: EnvProperties): Observable<any> {
let url = properties.indexInfoAPI;
return this.http.get((properties.useLongCache)? (properties.cacheUrl+encodeURIComponent(url)): url).pipe(map(res => res['db_load_date'])).pipe(catchError(err => {return of(null)}));
}
} }