Skip to content

Commit

Permalink
Add AttributesToGet in GetItem Request
Browse files Browse the repository at this point in the history
Property AttributesToGet is not set in GetItem request input parameters
  • Loading branch information
gergold committed May 9, 2012
1 parent 464d1d3 commit 3815f24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Item.js
Expand Up @@ -42,7 +42,9 @@ Item.prototype = {
TableName: this.TableName,
Key: this.Key
}


if (this.AttributesToGet) data.AttributesToGet = this.AttributesToGet

if (opts.consistent) data.ConsistentRead = true

this.database.request(
Expand Down

0 comments on commit 3815f24

Please sign in to comment.