Fix expected response in excuse info in edu one attendance

This commit is contained in:
Mikołaj Pich 2024-03-03 09:55:47 +01:00
parent 03fb607415
commit e97d565bbf
No known key found for this signature in database
3 changed files with 3 additions and 8 deletions

View file

@ -18,7 +18,7 @@ ext {
moshi = "1.13.0" moshi = "1.13.0"
} }
version = "2.5.0" version = "2.5.1-SNAPSHOT"
group = "io.github.wulkanowy" group = "io.github.wulkanowy"
nexusPublishing { nexusPublishing {

View file

@ -12,7 +12,7 @@ internal data class AttendanceExcusesPlusResponse(
@SerialName("usprawiedliwienia") @SerialName("usprawiedliwienia")
val excuses: List<AttendanceExcusePlusResponseItem>, val excuses: List<AttendanceExcusePlusResponseItem>,
@SerialName("usprawiedliwieniaBlokada") @SerialName("usprawiedliwieniaBlokada")
val excusesBlocked: UsprawiedliwieniaBlokada, val excusesBlocked: UsprawiedliwieniaBlokada?,
) )
@Serializable @Serializable

View file

@ -1,10 +1,5 @@
{ {
"usprawiedliwieniaAktywne": false, "usprawiedliwieniaAktywne": false,
"usprawiedliwienia": [], "usprawiedliwienia": [],
"usprawiedliwieniaBlokada": { "usprawiedliwieniaBlokada": null
"dataOd": null,
"dataDo": null,
"obowiazujeDo": null,
"oddzialy": {}
}
} }