Showing 1 of 1 total issue
Function register
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
register: async (server, options) => {
const result = Joi.validate(options, schema.options)
if (result.error) {
throw new Error(result.error)
}