Skip to content

Commit

Permalink
fix: missing strict: false that cause MongoDB only store defineded …
Browse files Browse the repository at this point in the history
…field
  • Loading branch information
Chinlinlee committed Nov 3, 2021
1 parent 963bca6 commit 1adfd02
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions models/mongodb/model/ImagingStudy.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,16 @@ module.exports = function (mongodb) {
default : void 0
} ,
dicomJson : {
type : Object ,
"00080020" : {
vr : {
type: String
},
type : String
} ,
Value : {
type: [Date]
type : [Date]
}
} ,
default : void 0
}
}
});
}, {strict : false});



Expand Down

0 comments on commit 1adfd02

Please sign in to comment.