forked from Yara724/api
fanavaran locations getting from branches
This commit is contained in:
@@ -2,6 +2,11 @@ import { Module } from "@nestjs/common";
|
||||
import { HttpModule } from "@nestjs/axios";
|
||||
import { ConfigModule, ConfigService } from "@nestjs/config";
|
||||
import { MongooseModule } from "@nestjs/mongoose";
|
||||
import { BranchDbService } from "src/client/entities/db-service/branch.db.service";
|
||||
import {
|
||||
BranchModel,
|
||||
BranchSchema,
|
||||
} from "src/client/entities/schema/branch.schema";
|
||||
import { createHttpModuleOptions } from "src/core/config/http-proxy.factory";
|
||||
import {
|
||||
LookupModel,
|
||||
@@ -36,11 +41,13 @@ import {
|
||||
schema: FanavaranClientConfigSchema,
|
||||
},
|
||||
{ name: LookupModel.name, schema: LookupSchema },
|
||||
{ name: BranchModel.name, schema: BranchSchema },
|
||||
]),
|
||||
FanavaranAuditModule,
|
||||
UsersModule,
|
||||
],
|
||||
providers: [
|
||||
BranchDbService,
|
||||
FanavaranClientConfigService,
|
||||
FanavaranAuthService,
|
||||
FanavaranLookupService,
|
||||
|
||||
Reference in New Issue
Block a user