Skip to content

Commit

Permalink
Be/feature/pray (#674)
Browse files Browse the repository at this point in the history
* feat: 엑세스 코드 생성 전략 수정

* feat: 엑세스 코드 생성 전략 수정

* feat: 엑세스 코드 생성 전략 수정
  • Loading branch information
koust6u authored Sep 27, 2024
1 parent 4269100 commit 4164a45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@Component
public class UUIDAccessCodeGenerator {

private static final int ACCESS_CODE_LENGTH = 6;
private static final int ACCESS_CODE_LENGTH = 9;

@Value("${ec2.prefix}")
private String prefix;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ public class PairRoomService {
@Transactional
public String savePairRoom(final PairRoomCreateRequest request, @Nullable final String token) {
final PairRoom pairRoom = createPairRoom(request);
final PairRoomEntity entity = PairRoomEntity.from(pairRoom);
log.info("Pair ROom entity : {}", entity);

final PairRoomEntity pairRoomEntity = pairRoomRepository.save(PairRoomEntity.from(pairRoom));

final Timer timer = new Timer(pairRoom.getAccessCode(), request.timerDuration(), request.timerRemainingTime());
Expand Down

0 comments on commit 4164a45

Please sign in to comment.