example/model/test.js
Function exports
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = (app) => {
const { Validate } = app.service('System');
const mongoose = app.service('Mongoose');
const Plugin = app.service('PluginService');
const ObjectId = mongoose.Schema.Types.ObjectId;