feat: Add an admin endpoint to retrieve the total count of unread support messages.

This commit is contained in:
pradeepkumar
2026-03-19 04:19:55 +05:30
parent c3a3df704e
commit 4d5a3fc36d
4 changed files with 73 additions and 6 deletions

View File

@@ -1,10 +1,11 @@
import { Module } from '@nestjs/common';
import { Module, forwardRef } from '@nestjs/common';
import { SupportChatController } from './support-chat.controller';
import { SupportChatService } from './support-chat.service';
import { PrismaModule } from '../prisma/prisma.module';
import { MessagesModule } from '../messages/messages.module';
@Module({
imports: [PrismaModule],
imports: [PrismaModule, forwardRef(() => MessagesModule)],
controllers: [SupportChatController],
providers: [SupportChatService],
exports: [SupportChatService],