mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-25 08:07:55 +00:00
fixed query commit
This commit is contained in:
@@ -295,6 +295,7 @@ export class SpaceModelService {
|
||||
{ uuid: param.spaceModelUuid },
|
||||
{ disabled: true },
|
||||
);
|
||||
await queryRunner.commitTransaction();
|
||||
|
||||
await this.commandBus.execute(
|
||||
new PropogateDeleteSpaceModelCommand({
|
||||
@@ -303,8 +304,6 @@ export class SpaceModelService {
|
||||
}),
|
||||
);
|
||||
|
||||
await queryRunner.commitTransaction();
|
||||
|
||||
return new SuccessResponseDto({
|
||||
message: `SpaceModel with UUID ${param.spaceModelUuid} deleted successfully.`,
|
||||
statusCode: HttpStatus.OK,
|
||||
|
||||
Reference in New Issue
Block a user