diff --git a/functions/helloworld/index.js b/functions/helloworld/index.js index 98807928ba..ab2851492c 100644 --- a/functions/helloworld/index.js +++ b/functions/helloworld/index.js @@ -107,10 +107,9 @@ exports.helloGCS = (event, callback) => { */ exports.helloGCSGeneric = (event, callback) => { const file = event.data; - const context = event.context; - console.log(`Event ${context.eventId}`); - console.log(` Event Type: ${context.eventType}`); + console.log(` Event ${event.eventId}`); + console.log(` Event Type: ${event.eventType}`); console.log(` Bucket: ${file.bucket}`); console.log(` File: ${file.name}`); console.log(` Metageneration: ${file.metageneration}`);