File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
backend/src/main/java/io/f1/backend/domain/game Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 11package io .f1 .backend .domain .game .app ;
22
3- import static io .f1 .backend .domain .game .mapper .RoomMapper .toRoomSetting ;
3+ import static io .f1 .backend .domain .game .mapper .RoomMapper .* ;
44
55import io .f1 .backend .domain .game .dto .request .RoomCreateRequest ;
66import io .f1 .backend .domain .game .dto .response .RoomCreateResponse ;
77import io .f1 .backend .domain .game .dto .response .RoomListResponse ;
88import io .f1 .backend .domain .game .dto .response .RoomResponse ;
9- import io .f1 .backend .domain .game .mapper .RoomMapper ;
109import io .f1 .backend .domain .game .model .GameSetting ;
1110import io .f1 .backend .domain .game .model .Player ;
1211import io .f1 .backend .domain .game .model .Room ;
@@ -62,7 +61,7 @@ public RoomListResponse getAllRooms() {
6261 quiz .setQuestions (List .of ());
6362 quiz .setCreator (user );
6463
65- return RoomMapper . toRoomResponse (room , quiz );
64+ return toRoomResponse (room , quiz );
6665 })
6766 .toList ();
6867 return new RoomListResponse (roomResponses );
Original file line number Diff line number Diff line change 22
33public record RoomResponse (
44 Long roomId ,
5- String title ,
5+ String roomName ,
66 int maxUserCount ,
77 int currentUserCount ,
88 boolean locked ,
You can’t perform that action at this time.
0 commit comments