Skip to content

Commit e1d8713

Browse files
committed
Update example
1 parent 1b70114 commit e1d8713

File tree

4 files changed

+8568
-1168
lines changed

4 files changed

+8568
-1168
lines changed

example/handler.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
module.exports.hello = (event, context, callback) => {
22
if ((event.queryStringParameters || {}).error) callback(new Error('Oh no!'))
3-
console.log('The first version')
3+
console.log('The second version')
44
const response = {
55
statusCode: 200,
66
body: JSON.stringify({
7-
message: 'The first version'
7+
message: 'The second version'
88
})
99
}
1010
return callback(null, response)
1111
}
1212

1313
module.exports.authorize = (event, context, callback) => {
14-
console.log('The first authroizer')
14+
console.log('The first authorizer')
1515
const response = {
1616
statusCode: 200,
1717
body: JSON.stringify({

0 commit comments

Comments
 (0)