mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-24 22:07:54 +00:00
fix dependency issue
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user