You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
806 B
26 lines
806 B
import { Module } from '@nestjs/common'
|
|
import { MongooseModule } from '@nestjs/mongoose'
|
|
import {
|
|
SupportMessage,
|
|
SupportMessageSchema,
|
|
} from './schemas/support-message.schema'
|
|
import { SupportService } from './support.service'
|
|
import { SupportController } from './support.controller'
|
|
import { UsersModule } from 'src/users/users.module'
|
|
import { BillingModule } from 'src/billing/billing.module'
|
|
import { MailModule } from 'src/mail/mail.module'
|
|
import { AuthModule } from 'src/auth/auth.module'
|
|
@Module({
|
|
imports: [
|
|
MongooseModule.forFeature([
|
|
{ name: SupportMessage.name, schema: SupportMessageSchema },
|
|
]),
|
|
UsersModule,
|
|
BillingModule,
|
|
MailModule,
|
|
AuthModule,
|
|
],
|
|
controllers: [SupportController],
|
|
providers: [SupportService],
|
|
})
|
|
export class SupportModule {}
|