Permalink
Browse files

Mongoose Adapter Single Index support-Spacing Fix

  • Loading branch information...
1 parent 768ba2c commit 45e1df09db9dcb4b4ae592bc18ab76f381c84e00 @nashadalam nashadalam committed Sep 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/adapters/mongoose.js
View
@@ -48,7 +48,7 @@ function MongooseAdapter(client) {
MongooseAdapter.prototype.define = function (descr) {
var props = {};
Object.keys(descr.properties).forEach(function (key) {
- props[key] = {};
+ props[key] = {};
props[key].type = descr.properties[key].type;
if (props[key].type.name === 'Text' || props[key].type.name === 'JSON') props[key].type = String;
if (descr.properties[key].index) {

0 comments on commit 45e1df0

Please sign in to comment.