Skip to content

Commit 5180801

Browse files
committed
minor fixes to function, remove example response
1 parent e102c29 commit 5180801

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

sample-apps/layer-nodejs/function/lambda_function.mjs renamed to sample-apps/layer-nodejs/function/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const handler = async (event) => {
88
{ 'user': 'Pat', 'active': false }
99
];
1010

11-
let out = _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });
11+
let out = _.findLastIndex(users, function(o) { return o.user == 'Pat'; });
1212
const response = {
1313
statusCode: 200,
1414
body: JSON.stringify(out + ", " + users[out].user),

sample-apps/layer-nodejs/function/response.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)