Last active
June 6, 2020 04:23
-
-
Save maail/5e136e4f1c0d715ed1d22da8e5b75861 to your computer and use it in GitHub Desktop.
onDocumentCreate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// on post created | |
exports.documentCreate = functions.firestore | |
.document('document/{documentId}') | |
.onCreate((change, context) => { | |
console.log("Document created") | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment