feat: hash otp code

This commit is contained in:
2026-02-24 09:22:39 +03:30
parent 63b4567166
commit b9adbef7e8
4 changed files with 33 additions and 7 deletions
+2 -1
View File
@@ -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],
})