Skip to content

Commit

Permalink
Minor fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-wolfenden committed Dec 2, 2019
1 parent 9510311 commit 07ffdef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -105,10 +105,10 @@ let item = {
let params = MyModel.get(item)

// Pass the parameters to the DocumentClient's `get` method
let response = await DDB.get(params).promise()
let response = await DocumentClient.get(params).promise()

// Parse the raw response with the `parse` method
let result = MyModel.parse(get)
let result = MyModel.parse(response)
```

This will return the object mapped to your aliases and composite key mappings:
Expand Down

0 comments on commit 07ffdef

Please sign in to comment.