From 8b128b566d2e89d130481a07a7a5217a02cb857d Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Thu, 8 May 2014 15:46:14 -0700 Subject: [PATCH] Make sure ObjectID type is not parsed as object --- lib/model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/model.js b/lib/model.js index 3a3b3999..7d2face2 100644 --- a/lib/model.js +++ b/lib/model.js @@ -14,7 +14,7 @@ var List = require('./list'); var Hookable = require('./hooks'); var validations = require('./validations.js'); -var BASE_TYPES = ['String', 'Boolean', 'Number', 'Date', 'Text']; +var BASE_TYPES = ['String', 'Boolean', 'Number', 'Date', 'Text', 'ObjectID']; /** * Model class: base class for all persistent objects.