Hello everyone! How is it going?
Well, I just realized that I can't go any further and get data from my firestore database using custom functions. Here is a code example, trying to get the first field value ("Month" --> "Mes" in spanish) from the 1st document in the collection "Lunar1". I think the code it's good, already checked for errors and everything is right. Te code I created is just an example. Actually I want to map all the docs in the "Lunar1" collection and iterate them to check if the month that the user has, is in any document in the collection. But before, like I said, I wanted to test the first code. Can anyone who has already worked on integrating Firestore database using custom functions help me?
If you need more information and photos, such as the Firestore database or something else, please do not hesitate to ask for them :)