@ladjs/api 14.1.14 → 14.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -198,7 +198,7 @@ class API {
198
198
 
199
199
  // Allow before hooks to get setup
200
200
  if (_.isFunction(this.config.hookBeforeRoutes))
201
- this.config.hookBeforeRoutes(app);
201
+ this.config.hookBeforeRoutes(app, this.config);
202
202
 
203
203
  // Mount the app's defined and nested routes
204
204
  if (this.config.routes) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ladjs/api",
3
3
  "description": "API server for Lad",
4
- "version": "14.1.14",
4
+ "version": "14.1.15",
5
5
  "author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",
6
6
  "bugs": {
7
7
  "url": "https://github.com/ladjs/api/issues",