mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-24 20:17:55 +00:00
Revamp/space management (#409)
* task: add getCommunitiesV2 * task: update getOneSpace API to match revamp structure * refactor: implement modifications to pace management APIs * refactor: remove space link
This commit is contained in:
@@ -51,8 +51,12 @@ export class SubSpaceModelService {
|
||||
for (const [index, dto] of dtos.entries()) {
|
||||
const subspaceModel = savedSubspaces[index];
|
||||
|
||||
const processedTags = await this.tagService.processTags(
|
||||
dto.tags,
|
||||
const processedTags = await this.tagService.upsertTags(
|
||||
dto.tags.map((tag) => ({
|
||||
tagName: tag.name,
|
||||
productUuid: tag.productUuid,
|
||||
tagUuid: tag.uuid,
|
||||
})),
|
||||
spaceModel.project.uuid,
|
||||
queryRunner,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user