Skip to content

Commit a0cbf7a

Browse files
author
Alexander Kharkovey
committed
fix(json-api-nestjs-sdk): remove dead code
1 parent d7d7254 commit a0cbf7a

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

libs/json-api-nestjs-sdk/src/lib/service/json-api-utils/json-api-utils.service.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,6 @@ import { ObjectLiteral } from 'typeorm';
2626
export class JsonApiUtilsService {
2727
protected jsonApiSdkConfig = inject<JsonApiSdkConfig>(JSON_API_SDK_CONFIG);
2828
protected listEntities = inject<ListEntities>(ALL_ENTITIES);
29-
// protected patchEntities = inject<ListEntities>(PATCH_ENTITIES, {
30-
// optional: true,
31-
// });
32-
33-
constructor() {
34-
console.log(this.listEntities);
35-
}
36-
3729
public getUrlForResource(resource: string): string {
3830
const url: string[] = [camelToKebab(resource).toLocaleLowerCase()];
3931
if (this.jsonApiSdkConfig.apiPrefix) {

libs/json-api-nestjs-sdk/src/lib/token/json-api-sdk.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,6 @@ export interface ListEntities {
1111

1212
export const JSON_API_SDK_CONFIG = new InjectionToken<JsonApiSdkConfig>(
1313
'Main config object for sdk'
14-
// {
15-
// // providedIn: JsonApiNestjsSdkModule,
16-
// factory: () => {
17-
// console.log(inject(API_SDK_CONFIG, { optional: true }));
18-
// return inject(API_SDK_CONFIG, { optional: true }) as any;
19-
// },
20-
// }
2114
);
2215

2316
export const API_SDK_CONFIG = new InjectionToken<JsonApiSdkConfig>(

0 commit comments

Comments
 (0)