Skip to content

Commit

Permalink
Fix initRoute params
Browse files Browse the repository at this point in the history
  • Loading branch information
groenroos committed Feb 19, 2022
1 parent 318886a commit b8473bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class App {
for (const route in this.controller) {
if (Object.prototype.hasOwnProperty.call(this.controller, route)) {
const { default: initRoute } = await import('./core/initRoute.js');
await initRoute.call(this, callback);
await initRoute.call(this, route, this.controller[route]);
}
}
}
Expand Down

0 comments on commit b8473bc

Please sign in to comment.