mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-02 08:58:23 +02:00
fix for the migration to quartz
This commit is contained in:
parent
8f1535cd09
commit
8b047f0b42
@ -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
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user