Skip to content

Commit a72ef64

Browse files
Update content/techniques/http-module.md
1 parent 04b14c5 commit a72ef64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/techniques/http-module.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export class CatsService {
150150

151151
#### Full example
152152

153-
Since the return of `HttpService` is an Observable, we can use `rxjs` `firstValueFrom` or `lastValueFrom` to retrieve the data of the request in the form of a promise.
153+
Since the return value of the `HttpService` methods is an Observable, we can use `rxjs` - `firstValueFrom` or `lastValueFrom` to retrieve the data of the request in the form of a promise.
154154

155155
```typescript
156156
import { catchError, firstValueFrom } from 'rxjs';

0 commit comments

Comments
 (0)