[API/Mobidziennik] Fix downloading attachments.

This commit is contained in:
Kuba Szczodrzyński 2020-04-16 09:45:28 +02:00
parent d8559637a5
commit 9b13552b73

View File

@ -34,9 +34,9 @@ class MobidziennikWebGetAttachment(override val data: DataMobidziennik,
"dziennik/wiadodebrana/?id="
is Event -> if (owner.date >= Date.getToday())
"dziennik/zadaniedomowe/?id_zadania="
"dziennik/wyslijzadanie/?id_zadania="
else
"dziennik/zadaniedomowe/?id_zadania="
"dziennik/wyslijzadanie/?id_zadania="
else -> ""
}