From d5b332c0cd81cb2778c2b3200925392a7d598fc6 Mon Sep 17 00:00:00 2001 From: niamu01 Date: Wed, 10 Jul 2024 00:11:52 +0900 Subject: [PATCH] =?UTF-8?q?module=20import=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/external/where42/where42.module.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/external/where42/where42.module.ts b/src/external/where42/where42.module.ts index a89957f..62d39f3 100644 --- a/src/external/where42/where42.module.ts +++ b/src/external/where42/where42.module.ts @@ -4,6 +4,7 @@ import { DeviceInfo } from 'src/entities/device-info.entity'; import { TagLog } from 'src/entities/tag-log.entity'; import { TagLogRepository } from 'src/tag-log/repository/mysql/tag-log.repository'; import { UserModule } from 'src/user/user.module'; +import { DateCalculatorModule } from 'src/utils/data-calculator/data-calculator.module'; import { DeviceInfoRepository } from './repository/mysql/device-info.repository'; import { Where42Controller } from './where42.controller'; import { Where42Service } from './where42.service'; @@ -22,7 +23,11 @@ const deviceInfoRepo = { * 24Hane 기능 외 다른 서비스에서 사용하는 외부 API 모듈 */ @Module({ - imports: [UserModule, TypeOrmModule.forFeature([DeviceInfo, TagLog])], + imports: [ + UserModule, + TypeOrmModule.forFeature([DeviceInfo, TagLog]), + DateCalculatorModule, + ], controllers: [Where42Controller], providers: [tagLogRepo, deviceInfoRepo, Where42Service], })