From b26a3f57bd077428fccebf0729becf78e81c2d01 Mon Sep 17 00:00:00 2001 From: "arthur.valin" Date: Mon, 5 Feb 2024 18:11:11 +0100 Subject: [PATCH] try fix api pg enum --- .../main/kotlin/allin/data/postgres/PostgresBetDataSource.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/src/main/kotlin/allin/data/postgres/PostgresBetDataSource.kt b/Sources/src/main/kotlin/allin/data/postgres/PostgresBetDataSource.kt index 8e7e53e..4c50b09 100644 --- a/Sources/src/main/kotlin/allin/data/postgres/PostgresBetDataSource.kt +++ b/Sources/src/main/kotlin/allin/data/postgres/PostgresBetDataSource.kt @@ -71,7 +71,7 @@ class PostgresBetDataSource(private val database: Database) : BetDataSource { set(it.isPrivate, bet.isPrivate) set(it.createdBy, bet.createdBy) set(it.status, bet.status) - set(it.theme, bet.theme) + set(it.type, bet.type) } if (bet.type == BetType.CUSTOM) {