File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -77,10 +77,12 @@ exports.helloBackground = function helloBackground (event, callback) {
7777 * @param {object } event The Cloud Functions event.
7878 * @param {function } The callback function.
7979 */
80- exports . helloPubSub = function helloPubSub ( event , callback ) {
80+ exports . helloPubSub = function ( event , callback ) {
8181 const pubsubMessage = event . data ;
8282 const name = pubsubMessage . data ? Buffer . from ( pubsubMessage . data , 'base64' ) . toString ( ) : 'World' ;
83- console . log ( `Hello ${ name } !` ) ;
83+
84+ console . log ( `Hello, ${ name } !` ) ;
85+
8486 callback ( ) ;
8587} ;
8688// [END functions_helloworld_pubsub]
@@ -92,7 +94,7 @@ exports.helloPubSub = function helloPubSub (event, callback) {
9294 * @param {object } event The Cloud Functions event.
9395 * @param {function } The callback function.
9496 */
95- exports . helloGCS = function helloGCS ( event , callback ) {
97+ exports . helloGCS = function ( event , callback ) {
9698 const file = event . data ;
9799 const isDelete = file . resourceState === 'not_exists' ;
98100
You can’t perform that action at this time.
0 commit comments