Skip to content

Commit

Permalink
fix(edit-logs): prevent Mongoose to convert diffs from array of chang…
Browse files Browse the repository at this point in the history
…es into array of arrays of single change
  • Loading branch information
naholyr committed Sep 6, 2017
1 parent 4b581d8 commit 1ff09dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/lib/edit-logs.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const EditLogSchema = new mongoose.Schema({
required: false
},
diff: {
type: mongoose.Schema.Types.Array,
type: mongoose.Schema.Types.Mixed,
required: false
},
who: {
Expand Down

0 comments on commit 1ff09dc

Please sign in to comment.