[APIv2/Mobidziennik] Fix a terrible mistake.

This commit is contained in:
Kuba Szczodrzyński 2019-10-29 23:01:11 +01:00
parent 2ad8a308b3
commit d6d73b19ec

View File

@ -4,7 +4,6 @@
package pl.szczodrzynski.edziennik.api.v2.mobidziennik.data.web
import pl.szczodrzynski.edziennik.App.profileId
import pl.szczodrzynski.edziennik.api.v2.Regexes
import pl.szczodrzynski.edziennik.api.v2.mobidziennik.DataMobidziennik
import pl.szczodrzynski.edziennik.data.db.modules.luckynumber.LuckyNumber
@ -29,7 +28,7 @@ class MobidziennikLuckyNumberExtractor(val data: DataMobidziennik, text: String)
data.luckyNumberList.add(luckyNumberObject)
data.metadataList.add(
Metadata(
profileId,
data.profileId,
Metadata.TYPE_LUCKY_NUMBER,
luckyNumberObject.date.value.toLong(),
data.profile?.empty ?: false,