mirror of
https://github.com/ragestudio/linebridge.git
synced 2025-06-09 10:34:17 +00:00
added missing arg
This commit is contained in:
parent
2f6c3339a1
commit
cb657e3c35
@ -112,7 +112,7 @@ class Server {
|
|||||||
query = endpoint.middleware
|
query = endpoint.middleware
|
||||||
}
|
}
|
||||||
|
|
||||||
query.forEach(() => {
|
query.forEach((middleware) => {
|
||||||
if (typeof this.middlewares[middleware] === "function") {
|
if (typeof this.middlewares[middleware] === "function") {
|
||||||
routeModel.push(this.middlewares[middleware])
|
routeModel.push(this.middlewares[middleware])
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user