this is my code is in angular I have two components, the service that communicates with firebase
and this is the component where I want to call the function and retrieve just one object but I get this error
I hope you can help me, thanks.