Skip to content

Commit 92e3726

Browse files
authored
Merge pull request #10 from michael-wolfenden/patch-1
Minor fixups
2 parents 9510311 + 07ffdef commit 92e3726

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@ let item = {
105105
let params = MyModel.get(item)
106106

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

110110
// Parse the raw response with the `parse` method
111-
let result = MyModel.parse(get)
111+
let result = MyModel.parse(response)
112112
```
113113

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

0 commit comments

Comments
 (0)