We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5e0f1a commit 7da2495Copy full SHA for 7da2495
lib/route/route.js
@@ -55,7 +55,7 @@ class Plugin {
55
this.modelExtension = route.modelExtension;
56
this.modelEvents = route.events;
57
this.modelHooks = route.hooks && route.hooks() || {};
58
- this.pre = route.pre && route.pre() || {};
+ this.pre = route.pre && route.pre() || [];
59
this.omitRoutes = route.omitRoutes && route.omitRoutes() || [];
60
this.auth = route.auth && route.auth() || {};
61
this.stripColumns = route.stripColumns && route.stripColumns() || [];
0 commit comments