blob: f921b2fedbf0a7f366a20a3dc1c3bd8388551ca1 [file] [log] [blame]
/**
* Background Cloud Function to be triggered by Firestore.
*
* @param {object} event The Cloud Functions event.
* @param {function} callback The callback function.
*/
exports.helloFirestore = function (event, callback) {
const messageId = event.params.messageId;
console.log(`Received message ${messageId}`);
callback();
};