Skip to content

Commit

Permalink
Feature: Droidcon 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
chepsi committed Nov 5, 2024
1 parent 9d36a28 commit a73c546
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fun SessionEntity.toDomainModel() = Session(
fun SessionDTO.toEntity(): SessionEntity {
return SessionEntity(
id = 0,
description = description,
description = description.orEmpty(),
title = title,
sessionFormat = sessionFormat,
sessionLevel = sessionLevel,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ object Constants {
// const val DEV_BASE_URL = "https://dev.droidcon.co.ke/api/v1"
const val PROD_BASE_URL = "https://api.droidcon.co.ke/v1"
const val DEV_BASE_URL = "https://api.droidcon.co.ke/v1"
private const val EVENT_SLUG = "droidconke-2023-137"
private const val EVENT_SLUG = "droidconke-2024-974"
private const val ORG_SLUG = "droidcon-ke-645"
const val EVENT_PROD_BASE_URL = "$PROD_BASE_URL/events/$EVENT_SLUG"
const val EVENT_DEV_BASE_URL = "$DEV_BASE_URL/events/$EVENT_SLUG"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ data class SessionDTO(
val id: String,
val backgroundColor: String,
val borderColor: String,
val description: String,
@SerialName("description") val description: String? = "",
@SerialName("end_date_time") val endDateTime: String,
@SerialName("end_time") val endTime: String,
@SerialName("is_bookmarked") val isBookmarked: Boolean,
Expand Down

0 comments on commit a73c546

Please sign in to comment.