diff --git a/todos-delete.js b/todos-delete.js index df798c2..3d1cc2a 100644 --- a/todos-delete.js +++ b/todos-delete.js @@ -7,7 +7,7 @@ module.exports = (event, callback) => { const params = { TableName : 'todos', Key: { - id: event.path.id + id: event.pathParameters.id } };