Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ public class DraftRequest {

private UUID participantId; // 드래프트 참가자 pk값

private String userName; // 참가자 이름

private UUID playerId; // player pk값

private String playerWebName; // player 영어 이름
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public void selectPlayer(DraftRequest draftRequest
Participant participant = participantRepository.findByUserAndDraft(user, draft).orElseThrow(()
-> new BaseException(ErrorCode.PARTICIPANT_NOT_FOUND));
draftRequest.setParticipantId(participant.getId());
draftRequest.setUserName(user.getName());


String channel = null;
Expand Down Expand Up @@ -121,6 +122,7 @@ public void selectRandomPlayer(DraftRequest draftRequest
DraftRequest randomDraftRequest = Player.toDraftRequest(player);
randomDraftRequest.setDraftId(draftRequest.getDraftId());
randomDraftRequest.setParticipantId(participant.getId());
randomDraftRequest.setUserName(user.getName());

String channel = null;
String msg = null;
Expand Down