Skip to content

Commit

Permalink
Merge pull request #1423 from joreilly/devfest-nantes
Browse files Browse the repository at this point in the history
Allow null socials and add themeColor, fixes importing DevFest Nantes
  • Loading branch information
martinbonnin authored Aug 26, 2024
2 parents 188810d + 1e998e1 commit ac0fd1e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ class DevFestNantes(
bio = speaker.get("bio")?.asString,
tagline = null,
company = speaker.get("company")?.asString,
links = speaker.get("socials").asMap.entries.map {
links = speaker.get("socials")?.asMap?.entries.orEmpty().map {
val handle = it.value.asString.trim()
val url = when (it.key) {
"github" -> "https://github.com/$handle"
Expand Down Expand Up @@ -295,7 +295,8 @@ class DevFestNantes(
id = id,
name = "DevFest Nantes",
timeZone = timeZone,
days = days
days = days,
themeColor = "0xffFB5C49"
)

DataStore().write(
Expand Down

0 comments on commit ac0fd1e

Please sign in to comment.