Skip to content

Commit da22a5f

Browse files
committed
Chore: 불필요한 코드 제거
1 parent c17a0d6 commit da22a5f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

data/src/main/java/com/threegap/bitnagil/data/routine/model/response/RoutineDto.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ fun RoutineDto.toDomain(): Routine =
3838
Routine(
3939
id = this.routineId,
4040
name = this.routineName,
41-
repeatDays = this.repeatDay.map { it },
41+
repeatDays = this.repeatDay,
4242
executionTime = this.executionTime,
4343
routineDate = this.routineDate,
4444
isCompleted = this.routineCompleteYn,

data/src/main/java/com/threegap/bitnagil/data/writeroutine/repositoryImpl/WriteRoutineRepositoryImpl.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class WriteRoutineRepositoryImpl @Inject constructor(
2828
): Result<Unit> {
2929
val request = RegisterRoutineRequest(
3030
routineName = name,
31-
repeatDay = repeatDay.map { it },
31+
repeatDay = repeatDay,
3232
executionTime = startTime.toString(),
3333
routineStartDate = startDate.toString(),
3434
routineEndDate = endDate.toString(),
@@ -56,7 +56,7 @@ class WriteRoutineRepositoryImpl @Inject constructor(
5656
routineId = routineId,
5757
updateApplyDate = routineUpdateType,
5858
routineName = name,
59-
repeatDay = repeatDay.map { it },
59+
repeatDay = repeatDay,
6060
executionTime = startTime.toString(),
6161
routineStartDate = startDate.toString(),
6262
routineEndDate = endDate.toString(),

0 commit comments

Comments
 (0)