forked from Yara724/api
FIX Catcha
This commit is contained in:
@@ -1,8 +1,26 @@
|
||||
import { Module } from "@nestjs/common";
|
||||
import { MongooseModule } from "@nestjs/mongoose";
|
||||
import { HashModule } from "src/utils/hash/hash.module";
|
||||
import { CaptchaChallengeService } from "./captcha-challenge.service";
|
||||
import { CaptchaService } from "./captcha.service";
|
||||
import { CaptchaChallengeDbService } from "./entities/db-service/captcha-challenge.db.service";
|
||||
import {
|
||||
CaptchaChallenge,
|
||||
CaptchaChallengeSchema,
|
||||
} from "./entities/schema/captcha-challenge.schema";
|
||||
|
||||
@Module({
|
||||
providers: [CaptchaService],
|
||||
exports: [CaptchaService],
|
||||
imports: [
|
||||
HashModule,
|
||||
MongooseModule.forFeature([
|
||||
{ name: CaptchaChallenge.name, schema: CaptchaChallengeSchema },
|
||||
]),
|
||||
],
|
||||
providers: [
|
||||
CaptchaService,
|
||||
CaptchaChallengeDbService,
|
||||
CaptchaChallengeService,
|
||||
],
|
||||
exports: [CaptchaChallengeService],
|
||||
})
|
||||
export class CaptchaModule {}
|
||||
|
||||
Reference in New Issue
Block a user