fix: Fixing xml data export 500 error. (#10114)

* fix: Fixing xml data export 500 error.

fixes #10100

* Removing outdated comment.

* Making xml data export test pass consistently.
This commit is contained in:
Travis
2018-03-17 14:24:40 -07:00
committed by Matteo Pagliazzi
parent e43749bed1
commit d4e2f5ac9e
2 changed files with 15 additions and 6 deletions

View File

@@ -584,11 +584,13 @@ let schema = new Schema({
// Items manually pinned by the user
pinnedItems: [{
_id: false,
path: {type: String},
type: {type: String},
}],
// Items the user manually unpinned from the ones suggested by Habitica
unpinnedItems: [{
_id: false,
path: {type: String},
type: {type: String},
}],