mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 14:38:12 +00:00
user account create
This commit is contained in:
33
apps/edr-freight-api/src/modules/otp/otp.module.ts
Normal file
33
apps/edr-freight-api/src/modules/otp/otp.module.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
// 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";
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
TypeOrmModule.forFeature([
|
||||
OtpVerification,
|
||||
]),
|
||||
],
|
||||
|
||||
controllers: [OtpController],
|
||||
|
||||
providers: [
|
||||
OtpService,
|
||||
OtpRepository,
|
||||
],
|
||||
|
||||
exports: [
|
||||
OtpRepository,
|
||||
],
|
||||
})
|
||||
export class OtpModule {}
|
||||
Reference in New Issue
Block a user