diff --git a/node_modules/@rewiko/crud/lib/crud/reflection.helper.js b/node_modules/@rewiko/crud/lib/crud/reflection.helper.js index 42be367..7487317 100644 --- a/node_modules/@rewiko/crud/lib/crud/reflection.helper.js +++ b/node_modules/@rewiko/crud/lib/crud/reflection.helper.js @@ -21,7 +21,7 @@ class R { } static createCustomRouteArg(paramtype, index, pipes = [], data = undefined) { return { - [`${paramtype}${constants_1.CUSTOM_ROUTE_AGRS_METADATA}:${index}`]: { + [`${paramtype}${constants_1.CUSTOM_ROUTE_AGRS_METADATA || constants_1.CUSTOM_ROUTE_ARGS_METADATA}:${index}`]: { index, factory: (_, ctx) => R.getContextRequest(ctx)[paramtype], data,