Commit 0cf85aa2 authored by nanahira's avatar nanahira

fix

parent 5ec1220c
......@@ -41,6 +41,6 @@ export function ImportDataDto<C extends AnyClass>(type: C) {
},
`${getClassFromClassOrArray(type).name}ImportData`,
);
Type(() => dtoClass)(dtoClass.prototype, 'data');
Type(() => type)(dtoClass.prototype, 'data');
return dtoClass;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment