Skip to content

Commit 50c4dd5

Browse files
Merge pull request #2543 from bodasooqa/patch-1
docs(techniques): Update http-module.md
2 parents 060502e + 0cd6e67 commit 50c4dd5

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
@@ -160,7 +160,7 @@ export class CatsService {
160160
private readonly logger = new Logger(CatsService.name);
161161
constructor(private readonly httpService: HttpService) {}
162162

163-
findAll(): Promise<Cat[]> {
163+
async findAll(): Promise<Cat[]> {
164164
const { data } = await firstValueFrom(
165165
this.httpService.get<Cat[]>('http://localhost:3000/cats').pipe(
166166
catchError((error: AxiosError) => {

0 commit comments

Comments
 (0)