fix dependency issue

This commit is contained in:
hannathkadher
2025-02-17 23:15:27 +04:00
parent 0059562319
commit c7ffba7290
3 changed files with 18 additions and 3 deletions
@@ -54,9 +54,8 @@ export class SpaceModelService {
const queryRunner = this.dataSource.createQueryRunner();
await queryRunner.connect();
await queryRunner.startTransaction();
console.log("c");
try {
const project = await this.validateProject(params.projectUuid);
const project = await this.projectService.findOne(params.projectUuid);
await this.validateNameUsingQueryRunner(
modelName,
@@ -102,7 +101,6 @@ export class SpaceModelService {
statusCode: HttpStatus.CREATED,
});
} catch (error) {
console.log("jj");
await queryRunner.rollbackTransaction();
const errorMessage =