Skip to content

Commit

Permalink
Merge pull request #451 from Opetushallitus/tuloskirje-test
Browse files Browse the repository at this point in the history
Html-kirje
  • Loading branch information
augustk committed Nov 21, 2023
2 parents 00a0002 + 9776dac commit 834ca16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/scala/fi/vm/sade/ataru/AtaruServiceComponent.scala
Expand Up @@ -2,7 +2,6 @@ package fi.vm.sade.ataru

import java.time.Instant
import java.util.concurrent.TimeUnit

import fi.vm.sade.hakemuseditori.auditlog.{Audit, ShowHakemus}
import fi.vm.sade.hakemuseditori.domain.Language.Language
import fi.vm.sade.hakemuseditori.hakemus.{HakemusInfo, ValintatulosFetchStrategy}
Expand All @@ -12,11 +11,12 @@ import fi.vm.sade.hakemuseditori.oppijanumerorekisteri.OppijanumerorekisteriComp
import fi.vm.sade.hakemuseditori.tarjonta.TarjontaComponent
import fi.vm.sade.hakemuseditori.tarjonta.domain.{Haku, Hakukohde, KohteenHakuaika}
import fi.vm.sade.hakemuseditori.valintatulokset.ValintatulosServiceComponent
import fi.vm.sade.hakemuseditori.viestintapalvelu.{Pdf, TuloskirjeComponent}
import fi.vm.sade.hakemuseditori.viestintapalvelu.{AccessibleHtml, Pdf, TuloskirjeComponent}
import fi.vm.sade.omatsivut.OphUrlProperties
import fi.vm.sade.omatsivut.config.AppConfig
import fi.vm.sade.omatsivut.config.AppConfig.AppConfig
import fi.vm.sade.utils.cas.{CasAuthenticatingClient, CasClient, CasParams}

import javax.servlet.http.HttpServletRequest
import org.http4s.{Request, Uri}
import org.http4s.Method.GET
Expand Down Expand Up @@ -61,7 +61,7 @@ trait AtaruServiceComponent {
a,
tarjontaService.haku(a.haku, language),
getHakukohteet(a.hakukohteet, language),
tuloskirjeService.getTuloskirjeInfo(request, a.haku, a.oid, Pdf)
tuloskirjeService.getTuloskirjeInfo(request, a.haku, a.oid, AccessibleHtml)
))
.collect {
case (a, Some(haku), Some(hakukohteet), tuloskirje) =>
Expand Down

0 comments on commit 834ca16

Please sign in to comment.