Files
edr-platform/apps/edr-freight-api/src/modules/otp/otp.module.ts
2026-07-03 10:59:58 +00:00

37 lines
670 B
TypeScript

// otp.module.ts
import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { OtpVerification } from "./otp.entity";
import { OtpController } from "./otp.controller";
import { OtpService } from "./otp.service";
import { OtpRepository } from "./otp.repository";
import { NotificationsModule } from "../notifications/notifications.module";
@Module({
imports: [
TypeOrmModule.forFeature([
OtpVerification,
]),
NotificationsModule,
],
controllers: [OtpController],
providers: [
OtpService,
OtpRepository,
],
exports: [
OtpRepository,
OtpService,
],
})
export class OtpModule {}