There was an error while loading. Please reload this page.
1 parent d328ac5 commit fc2f5a1Copy full SHA for fc2f5a1
hookslib/apiType/api.js
@@ -15,7 +15,7 @@ module.exports = {
15
});
16
17
// attach hooks
18
- this.hooks.map(method, attachHook);
+ this.hooks.map(hookFn => attachHook(method, hookFn));
19
20
this.router[method](apiPath, this.handlePromisePostTriggers(fn));
21
0 commit comments