diff --git a/demo-app/src/main/kotlin/io/getstream/video/android/token/StreamTokenService.kt b/demo-app/src/main/kotlin/io/getstream/video/android/token/StreamTokenService.kt index 3a275a071b..c7fc090403 100644 --- a/demo-app/src/main/kotlin/io/getstream/video/android/token/StreamTokenService.kt +++ b/demo-app/src/main/kotlin/io/getstream/video/android/token/StreamTokenService.kt @@ -36,10 +36,13 @@ interface StreamTokenService { object StreamVideoNetwork { private val contentType = "application/json".toMediaType() + private val json = Json { + ignoreUnknownKeys = true + } private val retrofit = Retrofit.Builder() .baseUrl("https://stream-calls-dogfood.vercel.app/") - .addConverterFactory(Json.asConverterFactory(contentType)) + .addConverterFactory(json.asConverterFactory(contentType)) .build() val tokenService = retrofit.create()