feat: hash otp code
This commit is contained in:
@@ -2,9 +2,10 @@ import { Module } from '@nestjs/common';
|
||||
import { OtpService } from './providers/otp.service';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { OTP } from './otp.entity';
|
||||
import { HashingModule } from '@/common/modules/hashing/hashing.module';
|
||||
|
||||
@Module({
|
||||
imports: [TypeOrmModule.forFeature([OTP])],
|
||||
imports: [TypeOrmModule.forFeature([OTP]), HashingModule],
|
||||
providers: [OtpService],
|
||||
exports: [OtpService],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user