mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-15 10:25:23 +00:00
fix the issue in create space
This commit is contained in:
@ -134,7 +134,7 @@ export class SpaceService {
|
|||||||
subspaces,
|
subspaces,
|
||||||
newSpace,
|
newSpace,
|
||||||
queryRunner,
|
queryRunner,
|
||||||
tags,
|
null,
|
||||||
projectUuid,
|
projectUuid,
|
||||||
)
|
)
|
||||||
: Promise.resolve(),
|
: Promise.resolve(),
|
||||||
@ -751,7 +751,7 @@ export class SpaceService {
|
|||||||
subspaces,
|
subspaces,
|
||||||
space,
|
space,
|
||||||
queryRunner,
|
queryRunner,
|
||||||
tags,
|
null,
|
||||||
projectUuid,
|
projectUuid,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -124,6 +124,7 @@ export class SubSpaceService {
|
|||||||
projectUuid,
|
projectUuid,
|
||||||
queryRunner,
|
queryRunner,
|
||||||
);
|
);
|
||||||
|
|
||||||
await this.subspaceProductAllocationService.createSubspaceProductAllocations(
|
await this.subspaceProductAllocationService.createSubspaceProductAllocations(
|
||||||
subspace,
|
subspace,
|
||||||
processedTags,
|
processedTags,
|
||||||
|
@ -160,6 +160,7 @@ export class TagService {
|
|||||||
|
|
||||||
return allTags;
|
return allTags;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
console.error(error);
|
||||||
throw new HttpException(
|
throw new HttpException(
|
||||||
error instanceof HttpException
|
error instanceof HttpException
|
||||||
? error.message
|
? error.message
|
||||||
@ -232,6 +233,7 @@ export class TagService {
|
|||||||
|
|
||||||
return newTags;
|
return newTags;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
console.error(error);
|
||||||
throw new HttpException(
|
throw new HttpException(
|
||||||
error instanceof HttpException
|
error instanceof HttpException
|
||||||
? error.message
|
? error.message
|
||||||
|
Reference in New Issue
Block a user