From bf4a7ded7d5a4fd294ffca8a6c33869a04010b49 Mon Sep 17 00:00:00 2001 From: daechan_jo <103374153+daechan-jo@users.noreply.github.com> Date: Tue, 17 Dec 2024 00:05:18 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=97=90=EC=84=B8=EC=9D=B4=20=EC=A0=80?= =?UTF-8?q?=EC=9E=A5=EC=8B=9C=20=EC=8D=B8=EB=84=A4=EC=9D=BC=20=ED=95=84?= =?UTF-8?q?=EB=93=9C=20=EB=88=84=EB=9D=BD=20(#501)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: 도무지이해할수엄는순환종속성이슈를어찌저찌해결.. * refactor: HomeModule CQRS 패턴 시범적용 * refactor: HomeModule CQRS 패턴 시범적용 * chore: release bot 스크립트 수정 * refactor: home api 커맨드 패턴 적용 및 레디스 전역모듈화 * refactor: home api 커맨드 패턴 적용 및 레디스 전역모듈화 * refactor: home api 커맨드 패턴 적용 및 레디스 전역모듈화 * fix: 메일 템플릿 경로 수정 * fix: 메일 로고 경로 수정 * fix: 에세이 목록 조회 시 중복 및 페이징 문제 해결 * fix: 테스트 흔적 제거... * fix: 썸네일 필드 누락 --- src/config/typeorm.config.ts | 2 +- src/modules/base/essay/core/essay.service.ts | 1 + src/modules/base/essay/infrastructure/essay.repository.ts | 1 + tsconfig.json | 8 ++++---- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/config/typeorm.config.ts b/src/config/typeorm.config.ts index da124420..421de5be 100644 --- a/src/config/typeorm.config.ts +++ b/src/config/typeorm.config.ts @@ -31,7 +31,7 @@ export const TypeormConfig: TypeOrmModuleAsyncOptions = { connectionTimeoutMillis: 5000, }, ssl: process.env.DB_SSL === 'true' ? { rejectUnauthorized: false } : undefined, - logging: true, + logging: false, logger: 'advanced-console', }), async dataSourceFactory(option) { diff --git a/src/modules/base/essay/core/essay.service.ts b/src/modules/base/essay/core/essay.service.ts index 17e281d1..d4c91cde 100644 --- a/src/modules/base/essay/core/essay.service.ts +++ b/src/modules/base/essay/core/essay.service.ts @@ -67,6 +67,7 @@ export class EssayService { HttpStatus.BAD_REQUEST, ); } + console.log(data); const user = await this.userService.fetchUserEntityById(requester.id); const tags = (await this.tagService.getTags(data.tags)) || []; diff --git a/src/modules/base/essay/infrastructure/essay.repository.ts b/src/modules/base/essay/infrastructure/essay.repository.ts index a7692565..c0cc477e 100644 --- a/src/modules/base/essay/infrastructure/essay.repository.ts +++ b/src/modules/base/essay/infrastructure/essay.repository.ts @@ -55,6 +55,7 @@ export class EssayRepository implements IEssayRepository { title: data.title, content: data.content, linkedOutGauge: data.linkedOutGauge, + thumbnail: data.thumbnail, status: data.status, device: data.device, author: data.author, diff --git a/tsconfig.json b/tsconfig.json index 720f474e..7b22715c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,15 +1,15 @@ { "compilerOptions": { "module": "commonjs", + "target": "ES2021", + "outDir": "./dist", + "baseUrl": "./", + "sourceMap": true, "declaration": true, "removeComments": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "allowSyntheticDefaultImports": true, - "target": "ES2021", - "sourceMap": true, - "outDir": "./dist", - "baseUrl": "./", "incremental": true, "skipLibCheck": true, "strictNullChecks": false,