13 lines
415 B
TypeScript
13 lines
415 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { OtpService } from './providers/otp.service';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { OTP } from './entities/otp.entity';
|
|
import { HashingModule } from '@/common/modules/hashing/hashing.module';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([OTP]), HashingModule],
|
|
providers: [OtpService],
|
|
exports: [OtpService],
|
|
})
|
|
export class OtpModule {}
|