Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Marmor committed Jan 22, 2013
1 parent 2a10e2e commit 91aa6b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/scan.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,13 @@ function ScanResult(model, alias, data){
if(!this.isLastPage){
hashField = this.schema.field(this.schema.hash);
this.lastEvaluatedKey[hashField.name] = hashField.import(
data.LastKeyEvaluated.HashKeyElement[hashField.shorType]
data.LastKeyEvaluated.HashKeyElement[hashField.shortType]
);

if(this.schema.range){
rangeField = this.schema.field(this.schema.range);
this.lastEvaluatedKey[rangeField.name] = rangeField.import(
data.LastKeyEvaluated.RangeKeyElement[rangeField.shorType]
data.LastKeyEvaluated.RangeKeyElement[rangeField.shortType]
);
}
}
Expand Down

0 comments on commit 91aa6b7

Please sign in to comment.