fix for the migration to quartz

This commit is contained in:
Vitor Pamplona 2023-09-26 15:19:10 -04:00
parent 8f1535cd09
commit 8b047f0b42

View File

@ -1,7 +1,7 @@
package com.vitorpamplona.amethyst.database
import com.vitorpamplona.amethyst.service.model.Event
import com.vitorpamplona.amethyst.service.model.EventFactory
import com.vitorpamplona.quartz.events.Event
import com.vitorpamplona.quartz.events.EventFactory
class EventMapping(val eventDao: EventDao) {
fun insert(event: Event) {
@ -51,8 +51,7 @@ fun EventWithTags.toEvent(): Event {
sig = event.sig,
tags = tags.map {
it.toTags()
},
lenient = true
}
)
}