space product service

This commit is contained in:
hannathkadher
2024-12-17 19:08:48 +04:00
parent b3e8af7540
commit d1050babd1
9 changed files with 212 additions and 22 deletions

View File

@ -81,7 +81,7 @@ export class SpaceService {
}
if (subspaces?.length) {
await this.subSpaceService.createSubspacesFromNames(
await this.subSpaceService.createSubspacesFromDto(
subspaces,
newSpace,
queryRunner,
@ -101,7 +101,7 @@ export class SpaceService {
queryRunner,
);
} else if (spaceModel && spaceModel.spaceProductModels.length) {
await this.spaceProductService.createProductItemFromModel(
await this.spaceProductService.createFromModel(
spaceModel,
newSpace,
queryRunner,