diff --git a/javascriptv3/example_code/dynamodb/scenarios/basic.js b/javascriptv3/example_code/dynamodb/scenarios/basic.js index 7d84994e9a3..f1758d5c08d 100644 --- a/javascriptv3/example_code/dynamodb/scenarios/basic.js +++ b/javascriptv3/example_code/dynamodb/scenarios/basic.js @@ -162,7 +162,7 @@ export const main = async () => { TableName: tableName, Key: { year: 1981, title: "The Evil Dead" }, }); - await client.send(deleteCommand); + await docClient.send(deleteCommand); log("Movie deleted."); /**