Skip to content

Commit fc2f5a1

Browse files
committed
whoops
1 parent d328ac5 commit fc2f5a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hookslib/apiType/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = {
1515
});
1616

1717
// attach hooks
18-
this.hooks.map(method, attachHook);
18+
this.hooks.map(hookFn => attachHook(method, hookFn));
1919

2020
this.router[method](apiPath, this.handlePromisePostTriggers(fn));
2121
});

0 commit comments

Comments
 (0)