From 3d1cae8a251bf0608a35945b59fbf46cf2f6fd40 Mon Sep 17 00:00:00 2001 From: Juraj Hrivnak Date: Wed, 25 Sep 2024 12:36:51 +0200 Subject: [PATCH] Fix error with null GitHub repo license URL --- .../kotlin/teksturepako/pakku/api/models/gh/GhRepoModel.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commonMain/kotlin/teksturepako/pakku/api/models/gh/GhRepoModel.kt b/src/commonMain/kotlin/teksturepako/pakku/api/models/gh/GhRepoModel.kt index ab52fe7e..c8f4d526 100644 --- a/src/commonMain/kotlin/teksturepako/pakku/api/models/gh/GhRepoModel.kt +++ b/src/commonMain/kotlin/teksturepako/pakku/api/models/gh/GhRepoModel.kt @@ -191,8 +191,8 @@ data class GhRepoModel( data class License( val key: String, val name: String, + val url: String? = null, @SerialName("spdx_id") val spdxId: String? = null, - val url: String, - @SerialName("node_id") val nodeId: String + @SerialName("node_id") val nodeId: String, ) } \ No newline at end of file