mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Fixed up lambda-node to work with multi-stage changes.
This commit is contained in:
@@ -7,6 +7,6 @@ exports.handler = (event, context, callback) => {
|
||||
console.log('value1 =', event.key1);
|
||||
console.log('value2 =', event.key2);
|
||||
console.log('value3 =', event.key3);
|
||||
callback(null, event.key1); // Echo back the first key value
|
||||
callback(null, "hello " + event.key1); // Echo back the first key value
|
||||
//callback('Something went wrong');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user