Skip to content
This repository was archived by the owner on Jun 18, 2023. It is now read-only.

Commit 62425ba

Browse files
timonbackstavshamir
authored andcommitted
feat: Store fetched http data
1 parent 9052911 commit 62425ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app/shared/asyncapi.service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ export class AsyncApiService {
2020
}
2121

2222
return this.http.get<ServerAsyncApi>(Endpoints.docs).pipe(map(item => {
23-
return this.asyncApiMapperService.toAsyncApi(item);
23+
this.docs = this.asyncApiMapperService.toAsyncApi(item);
24+
return this.docs;
2425
}));
2526
}
2627
}

0 commit comments

Comments
 (0)