From e4b575dcb79c16af11a72c3cce26a38cc2e49ee2 Mon Sep 17 00:00:00 2001 From: Matteo Pagliazzi Date: Sun, 27 Oct 2013 10:55:05 +0100 Subject: [PATCH] add minimize: false also to group schema --- src/models/group.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/models/group.js b/src/models/group.js index aac86729d5..5651ec2bd2 100644 --- a/src/models/group.js +++ b/src/models/group.js @@ -52,7 +52,10 @@ var GroupSchema = new Schema({ balance: Number, logo: String, leaderMessage: String -}, {strict: 'throw'}); +}, { + strict: 'throw', + minimize: false +}); /**