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 9431284..ae95a81 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 @@ -14,5 +14,6 @@ data class TaskResponse( val readFeedback: Boolean, val hasFeedback: Boolean, val hasWorksheet: Boolean, - val hasProofShot: Boolean + val hasProofShot: Boolean, + val isResources: Boolean ) diff --git a/src/main/kotlin/goodspace/bllsoneshot/task/mapper/TaskMapper.kt b/src/main/kotlin/goodspace/bllsoneshot/task/mapper/TaskMapper.kt index 643a340..1c2747a 100644 --- a/src/main/kotlin/goodspace/bllsoneshot/task/mapper/TaskMapper.kt +++ b/src/main/kotlin/goodspace/bllsoneshot/task/mapper/TaskMapper.kt @@ -20,7 +20,8 @@ class TaskMapper { readFeedback = task.hasReadAllFeedbacks(), hasFeedback = task.hasFeedback(), hasWorksheet = task.hasWorkSheet(), - hasProofShot = task.hasProofShot() + hasProofShot = task.hasProofShot(), + isResources = task.isResource ) }