Skip to content

Commit f980b8c

Browse files
committed
refactor :: image url 추가
1 parent 67f1742 commit f980b8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/domain/src/main/java/team/retum/usecase/entity/application/AppliedCompaniesEntity.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package team.retum.usecase.entity.application
33
import androidx.compose.runtime.Immutable
44
import team.retum.common.enums.ApplyStatus
55
import team.retum.common.enums.AttachmentType
6+
import team.retum.common.utils.ResourceKeys
67
import team.retum.network.model.response.application.FetchAppliedCompaniesResponse
78

89
data class AppliedCompaniesEntity(
@@ -33,7 +34,7 @@ private fun FetchAppliedCompaniesResponse.ApplicationResponse.toEntity() =
3334
applicationId = this.applicationId,
3435
recruitmentId = this.recruitmentId,
3536
company = this.company,
36-
companyLogoUrl = this.companyLogoUrl,
37+
companyLogoUrl = ResourceKeys.IMAGE_URL + this.companyLogoUrl,
3738
attachments = this.attachments.map { it.toEntity() },
3839
applicationStatus = this.applicationStatus,
3940
)

0 commit comments

Comments
 (0)