packages/plugin-router-hapi/src/attach.ts
Function attachRouter
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function attachRouter(service: Microfleet, config: RouterHapiPluginConfig): ServerRegisterPluginObject<any> {
return {
plugin: {
name: 'microfleetRouter',
version: '1.0.0',