diff --git a/src/main/kotlin/goodspace/bllsoneshot/task/dto/response/task/TaskResponse.kt b/src/main/kotlin/goodspace/bllsoneshot/task/dto/response/task/TaskResponse.kt index ae95a81..19fede5 100644 --- a/src/main/kotlin/goodspace/bllsoneshot/task/dto/response/task/TaskResponse.kt +++ b/src/main/kotlin/goodspace/bllsoneshot/task/dto/response/task/TaskResponse.kt @@ -15,5 +15,5 @@ data class TaskResponse( val hasFeedback: Boolean, val hasWorksheet: Boolean, val hasProofShot: Boolean, - val isResources: Boolean + val isResource: Boolean ) diff --git a/src/main/kotlin/goodspace/bllsoneshot/task/mapper/TaskMapper.kt b/src/main/kotlin/goodspace/bllsoneshot/task/mapper/TaskMapper.kt index 1c2747a..06f69c6 100644 --- a/src/main/kotlin/goodspace/bllsoneshot/task/mapper/TaskMapper.kt +++ b/src/main/kotlin/goodspace/bllsoneshot/task/mapper/TaskMapper.kt @@ -21,7 +21,7 @@ class TaskMapper { hasFeedback = task.hasFeedback(), hasWorksheet = task.hasWorkSheet(), hasProofShot = task.hasProofShot(), - isResources = task.isResource + isResource = task.isResource ) }