mirror of
https://gitlab.com/mobicoop/v3/service/user.git
synced 2026-03-24 19:55:50 +00:00
refactor
This commit is contained in:
@@ -3,7 +3,7 @@ import { InjectMapper } from '@automapper/nestjs';
|
||||
import { Controller, UsePipes } from '@nestjs/common';
|
||||
import { CommandBus, QueryBus } from '@nestjs/cqrs';
|
||||
import { GrpcMethod, RpcException } from '@nestjs/microservices';
|
||||
import { DatabaseException } from '../../../database/src/exceptions/DatabaseException';
|
||||
import { DatabaseException } from '../../../database/src/exceptions/database.exception';
|
||||
import { CreateUserCommand } from '../../commands/create-user.command';
|
||||
import { DeleteUserCommand } from '../../commands/delete-user.command';
|
||||
import { UpdateUserCommand } from '../../commands/update-user.command';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { TestingModule, Test } from '@nestjs/testing';
|
||||
import { DatabaseModule } from '../../../database/database.module';
|
||||
import { PrismaService } from '../../../database/src/adapters/secondaries/prisma-service';
|
||||
import { DatabaseException } from '../../../database/src/exceptions/DatabaseException';
|
||||
import { DatabaseException } from '../../../database/src/exceptions/database.exception';
|
||||
import { UsersRepository } from '../../adapters/secondaries/users.repository';
|
||||
import { User } from '../../domain/entities/user';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user