#39 I must be notified by email when an article is changed

add function CitizenI.Name.getFullName()
This commit is contained in:
2020-05-12 16:13:40 +02:00
parent 5db451ef0e
commit eca5d1fe33
10 changed files with 219 additions and 117 deletions

View File

@@ -9,8 +9,8 @@ import com.fasterxml.jackson.datatype.joda.JodaModule
import com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException
import fr.dcproject.Env.PROD
import fr.dcproject.entity.*
import fr.dcproject.event.EventNotification
import fr.dcproject.event.EventSubscriber
import fr.dcproject.event.configEvent
import fr.dcproject.routes.*
import fr.dcproject.security.voter.*
import fr.ktorVoter.AuthorizationVoter
@@ -251,7 +251,7 @@ fun Application.module(env: Env = PROD) {
}
install(EventSubscriber) {
configEvent(get(), get(), get(), get())
EventNotification(this, get(), get(), get(), get(), get()).config()
}
install(Authentication) {