I am encountering an issue where I need to extract a specific value from the data obtained from my first service in order to pass it on to the second service. Angular seems to have trouble with 'firstserviceResultsJson.indSsn'. How can I successfully transfer data from the first service to the second service for processing?
this.firstService(query).pipe(
.firstServiceMethod(query).pipe(
concatMap(firstServiceResultsJson => this.secondService.secondServiceMethod(firstServiceResultsJson.specificParameter))
)
.subscribe(combinedResults => (this.finalResultsToSendToView = combinedResults ));