We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 060502e + 0cd6e67 commit 50c4dd5Copy full SHA for 50c4dd5
content/techniques/http-module.md
@@ -160,7 +160,7 @@ export class CatsService {
160
private readonly logger = new Logger(CatsService.name);
161
constructor(private readonly httpService: HttpService) {}
162
163
- findAll(): Promise<Cat[]> {
+ async findAll(): Promise<Cat[]> {
164
const { data } = await firstValueFrom(
165
this.httpService.get<Cat[]>('http://localhost:3000/cats').pipe(
166
catchError((error: AxiosError) => {
0 commit comments