diff --git a/myteamwallet_backend/src/notifications/notifications.module.ts b/myteamwallet_backend/src/notifications/notifications.module.ts index c403855..03bd1e0 100644 --- a/myteamwallet_backend/src/notifications/notifications.module.ts +++ b/myteamwallet_backend/src/notifications/notifications.module.ts @@ -2,9 +2,7 @@ import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { LoggingModule } from 'src/database/logging/logging.module'; import { Player } from 'src/players/entities/player.entity'; -import { TeamSetting } from 'src/team-settings/entities/team-setting.entity'; -import { User } from 'src/users/entities/user.entity'; -import { TeamAccessService } from 'src/teams/team-access.service'; +import { TeamsModule } from 'src/teams/teams.module'; import { Notification } from './entities/notification.entity'; import { NotificationRecipient } from './entities/notification-recipient.entity'; import { NotificationsListener } from './notifications.listener'; @@ -12,9 +10,10 @@ import { NotificationsService } from './notifications.service'; @Module({ imports: [ - TypeOrmModule.forFeature([Notification, NotificationRecipient, Player, TeamSetting, User]), + TypeOrmModule.forFeature([Notification, NotificationRecipient, Player]), LoggingModule, + TeamsModule, ], - providers: [NotificationsService, NotificationsListener, TeamAccessService], + providers: [NotificationsService, NotificationsListener], }) export class NotificationsModule {}