Commit 4582469a authored by nanahira's avatar nanahira

fix

parent f39d146a
...@@ -44,9 +44,9 @@ export class RestfulFactory<T> { ...@@ -44,9 +44,9 @@ export class RestfulFactory<T> {
readonly entityArrayReturnMessageDto = PaginatedReturnMessageDto( readonly entityArrayReturnMessageDto = PaginatedReturnMessageDto(
this.entityClass, this.entityClass,
); );
readonly importReturnMessageDto = ReturnMessageDto( readonly importReturnMessageDto = ReturnMessageDto([
ImportEntryDto(this.entityClass), ImportEntryDto(this.entityClass),
); ]);
readonly fieldsToOmit = _.uniq([ readonly fieldsToOmit = _.uniq([
...(getSpecificFields(this.entityClass, 'notColumn') as (keyof T)[]), ...(getSpecificFields(this.entityClass, 'notColumn') as (keyof T)[]),
...(this.options.fieldsToOmit || []), ...(this.options.fieldsToOmit || []),
......
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