mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-24 13:47:54 +00:00
updated list space for a user
This commit is contained in:
@@ -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}`,
|
||||
|
||||
Reference in New Issue
Block a user