style: 화상회의 방 수정 삼항 연산자 포맷 정리
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -218,7 +218,9 @@ export class MeetingService {
|
||||
// 이름은 표시용 라벨이라 중복 검사 없이 변경한다(코드는 불변).
|
||||
if (dto.name) room.name = dto.name;
|
||||
room.scheduledAt = dto.scheduledAt ? new Date(dto.scheduledAt) : null;
|
||||
room.allowedUserIds = dto.allowedUserIds?.length ? dto.allowedUserIds : null;
|
||||
room.allowedUserIds = dto.allowedUserIds?.length
|
||||
? dto.allowedUserIds
|
||||
: null;
|
||||
await this.roomRepo.save(room);
|
||||
return this.toRoomResponse(room, userId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user