Skip to content

Commit 3dbbf79

Browse files
committed
๐Ÿœ fix: StepRecord ์‹œ์ž‘ ์‹œ๊ฐ„ ๋งค๋ฒˆ ๊ฐฑ์‹ ์œผ๋กœ ์ˆ˜์ •
1 parent 99cf7e3 commit 3dbbf79

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • src/main/java/com/_oormthon/seasonthon/domain/stepRecord/domain

โ€Žsrc/main/java/com/_oormthon/seasonthon/domain/stepRecord/domain/StepRecord.javaโ€Ž

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@ public static StepRecord createStepRecord(Long stepId, Long userId, LocalDateTim
6666
}
6767

6868
public void startStep(LocalDateTime startTime) {
69-
if (this.startTime == null) {
70-
this.startTime = startTime;
71-
}
69+
this.startTime = startTime;
7270
this.endTime = null;
7371
}
7472

0 commit comments

Comments
ย (0)