diff --git a/src/auth/auth.module.ts b/src/auth/auth.module.ts index d600f43..ba6f26e 100644 --- a/src/auth/auth.module.ts +++ b/src/auth/auth.module.ts @@ -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] }), diff --git a/src/auth/dtos/RequestValidation.response.dto.ts b/src/auth/dtos/RequestValidation.response.dto.ts index 86ed562..722a9af 100644 --- a/src/auth/dtos/RequestValidation.response.dto.ts +++ b/src/auth/dtos/RequestValidation.response.dto.ts @@ -7,7 +7,8 @@ export class ResponseRequestValidationDto { phoneNumber: string; @ApiProperty({ description: '테스트용 인증번호', type: String }) - @Exclude() + // 테스트 서비스 인증번호 + @Expose() validationNumber: string; @ApiProperty({ description: '이미 가입했는지에대한 정보', type: Boolean }) diff --git a/src/queue/queue.module.ts b/src/queue/queue.module.ts index 170086b..18c1768 100644 --- a/src/queue/queue.module.ts +++ b/src/queue/queue.module.ts @@ -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] }),