Skip to content

Commit

Permalink
Go back to using toUIO
Browse files Browse the repository at this point in the history
  • Loading branch information
olivergrabinski committed Oct 2, 2023
1 parent 9c3e90b commit 651a4db
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package ch.epfl.bluebrain.nexus.delta.plugins.search

import akka.http.scaladsl.model.Uri
import cats.effect.IO
import cats.implicits.catsSyntaxApplicativeId
import cats.implicits._
import ch.epfl.bluebrain.nexus.delta.kernel.effect.migration._
import ch.epfl.bluebrain.nexus.delta.kernel.search.Pagination
import ch.epfl.bluebrain.nexus.delta.plugins.compositeviews.CompositeViews
Expand Down Expand Up @@ -60,7 +60,7 @@ object Search {
compositeViews
.list(
Pagination.OnePage,
CompositeViewSearchParams(deprecated = Some(false), filter = v => (v.id == defaultViewId).pure),
CompositeViewSearchParams(deprecated = Some(false), filter = v => IO.delay(v.id == defaultViewId).toUIO),
Ordering.by(_.createdAt)
)
.map(
Expand Down

0 comments on commit 651a4db

Please sign in to comment.