Skip to content

Commit 939c76e

Browse files
committed
update scan call
1 parent 6fffff0 commit 939c76e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/complete-get-a-listing-query.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Next we can start sending these params to DynamoDB and return the selected listi
3030

3131
```javascript
3232
try {
33-
const listing = await dynamoDBLib.call("scan", params)
33+
const listing = await dynamodb.scan(params)
3434

3535
if (listing.Items.length === 0) {
3636
return "There is no listing"

0 commit comments

Comments
 (0)