Skip to content

Commit

Permalink
Go back to UIO
Browse files Browse the repository at this point in the history
  • Loading branch information
olivergrabinski committed Oct 4, 2023
1 parent ba94044 commit 87b76a8
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,6 @@ package ch.epfl.bluebrain.nexus.delta.plugins.search

import akka.http.scaladsl.model.Uri
import cats.effect.IO
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 All @@ -17,6 +16,7 @@ import ch.epfl.bluebrain.nexus.delta.sdk.acls.model.AclAddress.{Project => Proje
import ch.epfl.bluebrain.nexus.delta.sdk.identities.model.Caller
import ch.epfl.bluebrain.nexus.delta.sourcing.model.Label
import io.circe.{Json, JsonObject}
import monix.bio.UIO

trait Search {

Expand Down Expand Up @@ -60,7 +60,7 @@ object Search {
compositeViews
.list(
Pagination.OnePage,
CompositeViewSearchParams(deprecated = Some(false), filter = v => IO.delay(v.id == defaultViewId).toUIO),
CompositeViewSearchParams(deprecated = Some(false), filter = v => UIO.pure(v.id == defaultViewId)),
Ordering.by(_.createdAt)
)
.map(
Expand Down

0 comments on commit 87b76a8

Please sign in to comment.