Skip to content

Commit

Permalink
feat(): updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony133 committed Mar 30, 2022
1 parent 3d365c9 commit f61e52a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/homepage/header/versions/services/versions.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ export default class Versions {
export class VersionsService {
constructor(private readonly httpClient: HttpClient) {}

addToVersionLatest(): Observable<any> {
addToVersionLatest(): Observable<Versions[]> {
const urlVersionsLatest = 'https://registry.npmjs.org/@nestjs/core/latest';
return this.httpClient.get<Versions>(urlVersionsLatest).pipe(
return this.httpClient.get<Versions[]>(urlVersionsLatest).pipe(
catchError((err) => {
return throwError(err);
}),
Expand Down

0 comments on commit f61e52a

Please sign in to comment.