Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Droidcon 2024 #305

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading