Starter Project, Google Cloud Functions API fix

Job ID: 35486494

Budget: $10 – $30 USD

I am currently learning Google Cloud Functions an wrote a simple API, that should store something in Firestore, but it is not working. can someone fix it and explain what was wrong?
Related categories: JavaScript Node.js Express JS Google Firebase