Skip to content

Commit

Permalink
fix: 에세이 저장시 썸네일 필드 누락 (#501)
Browse files Browse the repository at this point in the history
* fix: 도무지이해할수엄는순환종속성이슈를어찌저찌해결..

* refactor: HomeModule CQRS 패턴 시범적용

* refactor: HomeModule CQRS 패턴 시범적용

* chore: release bot 스크립트 수정

* refactor: home api 커맨드 패턴 적용 및 레디스 전역모듈화

* refactor: home api 커맨드 패턴 적용 및 레디스 전역모듈화

* refactor: home api 커맨드 패턴 적용 및 레디스 전역모듈화

* fix: 메일 템플릿 경로 수정

* fix: 메일 로고 경로 수정

* fix:  에세이 목록 조회 시 중복 및 페이징 문제 해결

* fix: 테스트 흔적 제거...

* fix: 썸네일 필드 누락
  • Loading branch information
daechan-jo authored Dec 16, 2024
1 parent d30d617 commit bf4a7de
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/config/typeorm.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
1 change: 1 addition & 0 deletions src/modules/base/essay/core/essay.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)) || [];
Expand Down
1 change: 1 addition & 0 deletions src/modules/base/essay/infrastructure/essay.repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
8 changes: 4 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit bf4a7de

Please sign in to comment.