updated list space for a user

This commit is contained in:
hannathkadher
2024-10-24 12:22:29 +04:00
parent 63a98fae55
commit 58a060e076
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -51,9 +51,9 @@ export class SpaceUserService {
);
}
// Create a new UserSpaceEntity entry to associate the user and the space
const userSpace = this.userSpaceRepository.create({ user, space });
await this.userSpaceRepository.save(userSpace);
return new SuccessResponseDto({
data: userSpace,
message: `Space ${spaceUuid} has been successfully associated t user ${userUuid}`,