pass endpoint reachability on complex controllers

This commit is contained in:
srgooglo 2022-05-05 10:54:04 +02:00
parent 81503da885
commit 97f38ce73d

View File

@ -45,6 +45,7 @@ export default class ComplexController {
if (typeof fn === "object") {
endpoint.middlewares = fn.middlewares
endpoint.fn = fn.fn
endpoint.enabled = fn.enabled
}
endpoint.fn = this.createHandler(endpoint.fn)