Skip to content

Commit e8caa05

Browse files
committed
feat(backend): support siteUrl in PartnerV3 for /partners/activities
1 parent b92104e commit e8caa05

File tree

2 files changed

+2
-0
lines changed
  • backend/src/main/java/com/paligot/confily/backend/partners/infrastructure/exposed
  • shared/models/src/commonMain/kotlin/com/paligot/confily/models

2 files changed

+2
-0
lines changed

backend/src/main/java/com/paligot/confily/backend/partners/infrastructure/exposed/PartnersMappers.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ fun PartnerEntity.toModelV3(): PartnerV3 {
6060
id = this.id.value.toString(),
6161
name = this.name,
6262
description = this.description ?: "",
63+
siteUrl = this.websiteUrl,
6364
videoUrl = this.videoUrl,
6465
media = PartnerMedia(
6566
svg = this.mediaSvg ?: "",

shared/models/src/commonMain/kotlin/com/paligot/confily/models/Partner.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ data class PartnerV3(
5656
val name: String,
5757
val description: String,
5858
val media: PartnerMedia,
59+
val siteUrl: String?,
5960
val videoUrl: String?,
6061
val address: Address?,
6162
val types: List<String>,

0 commit comments

Comments
 (0)