This commit is contained in:
Yûki VACHOT 2021-10-29 23:54:19 +02:00
parent 5a64568824
commit a748b93133
7 changed files with 81 additions and 27 deletions

View file

@ -14,5 +14,5 @@ module.exports = mongoose => {
return object;
});
return User = mongoose.model("user", schema);
return mongoose.model("user", schema);
};