Skip to content

Commit 5ca7132

Browse files
committed
refactor(json-api-nestjs-typeorm): remove unused code
1 parent 780bbf9 commit 5ca7132

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

libs/json-api/json-api-nestjs-typeorm/src/lib/service/type-orm-format.error.service.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import {
33
EntityParam,
44
ValidateQueryError,
55
ENTITY_PARAM_MAP,
6-
EntityControllerParam,
7-
MODULE_OPTIONS_TOKEN,
86
} from '@klerick/json-api-nestjs';
97
import {
108
BadRequestException,
@@ -108,7 +106,6 @@ export const PostgresError = {
108106
};
109107

110108
export class TypeOrmFormatErrorService extends ErrorFormatService {
111-
@Inject(MODULE_OPTIONS_TOKEN) private moduleOptions!: EntityControllerParam;
112109
@Inject(CURRENT_ENTITY_MANAGER_TOKEN) private entityManager!: EntityManager;
113110
@Inject(ENTITY_PARAM_MAP) private readonly mapProperty!: Map<
114111
EntityTarget<any>,

0 commit comments

Comments
 (0)