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