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.
1 parent 060502e commit 0cd6e67Copy full SHA for 0cd6e67
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