Firebase: How do I update the same document that was created during a Gen 2 onDocumentCreated trigger event?
I can't get my trigger to update the same document that is being created. I printed out debug statements to the console and the error points to documentData.set. I've tried document.ref.update, documentData.ref.set, and documentData.set, but none of these work. The…