Skip to content

Commit

Permalink
fix: Typo fix for support nestjs >9.0.5
Browse files Browse the repository at this point in the history
fix nestjsx#835 
Add support of it nestjs/nest@6076545
  • Loading branch information
Kolobok12309 authored Apr 5, 2024
1 parent d6d3c4e commit b9b6317
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/crud/src/crud/reflection.helper.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { RouteParamtypes } from '@nestjs/common/enums/route-paramtypes.enum';
import {
CUSTOM_ROUTE_AGRS_METADATA,
CUSTOM_ROUTE_ARGS_METADATA,
INTERCEPTORS_METADATA,
METHOD_METADATA,
PARAMTYPES_METADATA,
Expand Down Expand Up @@ -45,7 +45,7 @@ export class R {
data = undefined,
): any {
return {
[`${paramtype}${CUSTOM_ROUTE_AGRS_METADATA}:${index}`]: {
[`${paramtype}${CUSTOM_ROUTE_ARGS_METADATA}:${index}`]: {
index,
factory: (_, ctx) => R.getContextRequest(ctx)[paramtype],
data,
Expand Down

0 comments on commit b9b6317

Please sign in to comment.