Fix ustawienia values in grades response in uonetplus-uczenplus

This commit is contained in:
Mikołaj Pich 2024-06-12 20:39:07 +02:00
parent 77d6083752
commit 9b7e8585b0
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -1184,7 +1184,7 @@ internal val ApiEndpointsVHeaders = mapOf(
"V-TokenApi" to "{%UUID%}-{%vTokenApiIndexed%}", "V-TokenApi" to "{%UUID%}-{%vTokenApiIndexed%}",
), ),
"uonetplus-uczenplus" to mapOf( "uonetplus-uczenplus" to mapOf(
"V-TokenApi" to "{UUID}-{appCustomerDb}-{appCustomerDbSig}-{appVersion}-{apiKey}", "V-TokenApi" to "{UUID}-{appCustomerDb}-{appCustomerDbSig}-{apiKey}",
), ),
), ),
) )

View file

@ -36,13 +36,13 @@ internal data class GradesResponse(
internal data class GradesSettings( internal data class GradesSettings(
@SerialName("isSrednia") @SerialName("isSrednia")
val isAverage: Boolean, val isAverage: Boolean = false,
@SerialName("isPunkty") @SerialName("isPunkty")
val isPoints: Boolean, val isPoints: Boolean = false,
@SerialName("isDorosli") @SerialName("isDorosli")
val isForAdults: Boolean, val isForAdults: Boolean = false,
) )
@Serializable @Serializable