Skip to content

Commit 339ca95

Browse files
fix(plugin): fix controller-based subscription handlers
1 parent bca02ad commit 339ca95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class Internals {
100100
if (!(route.controller && controller[config])) {
101101
return undefined;
102102
}
103-
return controller[config];
103+
return controller[config].bind(controller);
104104
}
105105
return config;
106106
}

0 commit comments

Comments
 (0)