Skip to content

Commit 9020a50

Browse files
docs: Update Making HTTP requests best practices example (angular#57876)
PR Close angular#57876
1 parent e598b08 commit 9020a50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adev/src/content/guide/http/making-requests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ export class UserProfileComponent {
263263
constructor(private userService: UserService) {}
264264

265265
ngOnInit(): void {
266-
this.user$ = userService.getUser(this.userId);
266+
this.user$ = this.userService.getUser(this.userId);
267267
}
268268
}
269269
</docs-code>

0 commit comments

Comments
 (0)