Skip to content
Browse files

Typo fix

  • Loading branch information...
1 parent 13df1ef commit f4642ec398ae030943bc219b2e07c22689a10c69 @1602 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -18,7 +18,7 @@ var s = new Schema('redis');
var Post = schema.define('Post', {
title: { type: String, length: 255 },
content: { type: Schema.Text },
- date: { type: Date, detault: Date.now },
+ date: { type: Date, default: Date.now },
published: { type: Boolean, default: false }
});
// simplier way to describe model

0 comments on commit f4642ec

Please sign in to comment.
Something went wrong with that request. Please try again.