diff --git a/src/app/homepage/header/versions/services/versions.service.ts b/src/app/homepage/header/versions/services/versions.service.ts index 6e378f50de..e7002d1ba7 100644 --- a/src/app/homepage/header/versions/services/versions.service.ts +++ b/src/app/homepage/header/versions/services/versions.service.ts @@ -11,9 +11,9 @@ export default class Versions { export class VersionsService { constructor(private readonly httpClient: HttpClient) {} - addToVersionLatest(): Observable { + addToVersionLatest(): Observable { const urlVersionsLatest = 'https://registry.npmjs.org/@nestjs/core/latest'; - return this.httpClient.get(urlVersionsLatest).pipe( + return this.httpClient.get(urlVersionsLatest).pipe( catchError((err) => { return throwError(err); }),