Skip to content

Commit

Permalink
Remove explicit conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
olivergrabinski committed Oct 2, 2023
1 parent 9fe5da9 commit 8e6bb65
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package ch.epfl.bluebrain.nexus.delta.plugins.search

import akka.http.scaladsl.model.Uri
import cats.effect.IO
import cats.implicits.catsSyntaxApplicativeId
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
import ch.epfl.bluebrain.nexus.delta.plugins.compositeviews.indexing.projectionIndex
Expand All @@ -16,8 +18,6 @@ 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 ch.epfl.bluebrain.nexus.delta.kernel.effect.migration._

trait Search {

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

0 comments on commit 8e6bb65

Please sign in to comment.