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"
}
version = "2.5.0"
version = "2.5.1-SNAPSHOT"
group = "io.github.wulkanowy"
nexusPublishing {

View file

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

View file

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