Skip to content

Commit 64da5d7

Browse files
committed
[-] Code Style - Improve latest commits
1 parent 85951da commit 64da5d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## [Unreleased]
44
### Added
55
- Readme - Add a badge for the NPM package version.
6-
- Schema - Add detection of enum values for Enums in array schema
6+
- Schema - Detect enum values for Enums in array schema.
77

88
### Changed
99
- Readme - Add a community section.

src/adapters/mongoose.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ module.exports = function (model, opts) {
181181
fields: _.map(type.paths, function (type, fieldName) {
182182
const field = {
183183
field: fieldName,
184-
type: getTypeFromMongoose(type)
184+
type: getTypeFromMongoose(type),
185185
};
186186

187187
if (type.enumValues && type.enumValues.length) {

0 commit comments

Comments
 (0)