Skip to content

Commit

Permalink
[v1.2.0] 데모 버젼 변환
Browse files Browse the repository at this point in the history
[v1.2.0] 데모 버젼 변환
  • Loading branch information
ImNM authored Sep 7, 2022
2 parents 88bbad8 + bdc0fb1 commit 0a8f310
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/auth/auth.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ import { RegisterTokenGuard } from './guards/RegisterToken.guard';
SmsModule.forRootAsync({
imports: [ConfigModule],
useFactory: async (configService: ConfigService) => ({
isProd: configService.get('NODE_ENV') === 'prod' ? true : false
// 데모 사이트를 위한 sms 모듈 fake 로설정
isProd: false
// isProd: configService.get('NODE_ENV') === 'prod' ? true : false
}),
inject: [ConfigService]
}),
Expand Down
3 changes: 2 additions & 1 deletion src/auth/dtos/RequestValidation.response.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ export class ResponseRequestValidationDto {
phoneNumber: string;

@ApiProperty({ description: '테스트용 인증번호', type: String })
@Exclude()
// 테스트 서비스 인증번호
@Expose()
validationNumber: string;

@ApiProperty({ description: '이미 가입했는지에대한 정보', type: Boolean })
Expand Down
4 changes: 3 additions & 1 deletion src/queue/queue.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ import { QueueService } from './queue.service';
SmsModule.forRootAsync({
imports: [ConfigModule],
useFactory: async (configService: ConfigService) => ({
isProd: configService.get('NODE_ENV') === 'prod' ? true : false
// 데모 사이트를 위한 sms 모듈 fake 로설정
isProd: false
// isProd: configService.get('NODE_ENV') === 'prod' ? true : false
}),
inject: [ConfigService]
}),
Expand Down

0 comments on commit 0a8f310

Please sign in to comment.