Skip to content

Commit

Permalink
[feat] emotion 기본 값 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
minwoo0419 committed Jun 12, 2024
1 parent 7bd14d4 commit 1392faa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public RoomListDto getAllRooms(final Long userId) {

@Transactional(readOnly = true)
public RoomListDto.RoomDto createRoomDto(final User user, final Room room) {
int sentence = 3, emotion = 0;
int sentence = 3, emotion = 1;
Profile myProfile = profileRetriever.findByUserAndRoom(user, room);
String myRelation = myProfile.getRelation() != null ? myProfile.getRelation().getContent() : "-";
if (!profileRetriever.existsByUserNotAndRoom(user, room)) {
Expand Down

0 comments on commit 1392faa

Please sign in to comment.