diff --git a/README.md b/README.md index 1557272..4cb33d2 100644 --- a/README.md +++ b/README.md @@ -715,7 +715,7 @@ First, define a model using a local secondary index ```js var BlogPost = vogels.define('Account', { hashKey : 'email', - rangekey : 'title', + rangeKey : 'title', schema : { email : Joi.string().email(), title : Joi.string(), @@ -724,7 +724,7 @@ var BlogPost = vogels.define('Account', { }, indexes : [{ - hashkey : 'email', rangekey : 'PublishedDateTime', type : 'local', name : 'PublishedIndex' + hashKey : 'email', rangeKey : 'PublishedDateTime', type : 'local', name : 'PublishedIndex' }] }); ```