Skip to content

Commit 7da5eba

Browse files
fix[plugin]: Fix "plugins" route option being overwritten
1 parent 356cb4b commit 7da5eba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/plugin.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ class Internals {
217217
payload: route.payload,
218218
validate: this.buildValidate(route, controller),
219219
plugins: {
220+
...route.plugins,
220221
resourceRouter: {
221222
controller,
222223
},

0 commit comments

Comments
 (0)