added space delete

This commit is contained in:
hannathkadher
2024-12-24 14:51:06 +04:00
parent cb2778dce5
commit 2e46176fd5
9 changed files with 200 additions and 44 deletions

View File

@ -44,6 +44,7 @@ export class ValidationService {
async validateSpace(spaceUuid: string): Promise<SpaceEntity> {
const space = await this.spaceRepository.findOne({
where: { uuid: spaceUuid },
relations: ['subspaces', 'tags'],
});
if (!space) {