Commit 99ab666a authored by nanahira's avatar nanahira

fix

parent 14e8ee52
...@@ -53,7 +53,7 @@ export class RestfulFactory<T> { ...@@ -53,7 +53,7 @@ export class RestfulFactory<T> {
this.fieldsToOmit, this.fieldsToOmit,
) as ClassType<T>; ) as ClassType<T>;
readonly createDto = OmitType( readonly createDto = OmitType(
this.entityClass, this.basicDto,
getSpecificFields(this.entityClass, 'notWritable') as (keyof T)[], getSpecificFields(this.entityClass, 'notWritable') as (keyof T)[],
) as ClassType<T>; ) as ClassType<T>;
readonly importDto = ImportDataDto(this.entityClass); readonly importDto = ImportDataDto(this.entityClass);
......
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