Skip to content

Commit

Permalink
fix: type of field name is incorrect
Browse files Browse the repository at this point in the history
type of field name is only Stiring, not array
  • Loading branch information
Chinlinlee committed Oct 20, 2021
1 parent 330982d commit 7e30139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/mongodb/model/organization.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = function (mongodb) {
default: void 0
},
name: {
type: [String],
type: String,
default: void 0
},
alias: {
Expand Down

0 comments on commit 7e30139

Please sign in to comment.