mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-15 10:25:23 +00:00
changed entity and type structure
This commit is contained in:
@ -3,7 +3,7 @@ import {
|
||||
UserNotificationAddDto,
|
||||
UserNotificationUpdateDto,
|
||||
} from '../dtos/user-notification.dto';
|
||||
import { UserNotificationRepository } from '@app/common/modules/user-notification/repositories';
|
||||
import { UserNotificationRepository } from '@app/common/modules/user/repositories';
|
||||
|
||||
@Injectable()
|
||||
export class UserNotificationService {
|
||||
|
@ -1,12 +1,12 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { ConfigModule } from '@nestjs/config';
|
||||
import { UserNotificationRepositoryModule } from '@app/common/modules/user-notification/user.notification.repository.module';
|
||||
import { UserNotificationRepository } from '@app/common/modules/user-notification/repositories';
|
||||
import { UserRepositoryModule } from '@app/common/modules/user/user.repository.module';
|
||||
import { UserNotificationRepository } from '@app/common/modules/user/repositories';
|
||||
import { UserNotificationService } from 'src/user-notification/services';
|
||||
import { UserNotificationController } from 'src/user-notification/controllers';
|
||||
|
||||
@Module({
|
||||
imports: [ConfigModule, UserNotificationRepositoryModule],
|
||||
imports: [ConfigModule, UserRepositoryModule],
|
||||
controllers: [UserNotificationController],
|
||||
providers: [UserNotificationRepository, UserNotificationService],
|
||||
exports: [UserNotificationService],
|
||||
|
Reference in New Issue
Block a user