[ad_1]
im subscribing why is this deprecated? and how is the correct form?
getPeopleFunction() {
this.peopleService.getPeopleService().subscribe(
(data) => {
console.log(data);
},
(error) => {
console.log(error);
}
);
}
[ad_2]