Skip to content

Commit

Permalink
Remove CatsStreamConverter (#4385)
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Dumas <simon.dumas@epfl.ch>
Co-authored-by: Daniel Bell <shinyhappydan@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 19, 2023
1 parent 2cf4e48 commit c15f729
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 91 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import ch.epfl.bluebrain.nexus.delta.sdk.marshalling.AnnotatedSource
import ch.epfl.bluebrain.nexus.delta.sdk.model.ResourceRepresentation._
import ch.epfl.bluebrain.nexus.delta.sdk.model.{BaseUri, IdSegmentRef, ResourceRepresentation}
import ch.epfl.bluebrain.nexus.delta.sdk.permissions.Permissions.resources
import ch.epfl.bluebrain.nexus.delta.sdk.stream.CatsStreamConverter
import ch.epfl.bluebrain.nexus.delta.sdk.stream.StreamConverter
import ch.epfl.bluebrain.nexus.delta.sdk.{AkkaSource, JsonLdValue, ResourceShifts}
import ch.epfl.bluebrain.nexus.delta.sourcing.model.{ProjectRef, ResourceRef}
import fs2.Stream
Expand Down Expand Up @@ -113,7 +113,7 @@ object ArchiveDownload {
_ <- checkResourcePermissions(references, project)
contentStream <- resolveReferencesAsStream(references, project, ignoreNotFound)
} yield {
Source.fromGraph(CatsStreamConverter(contentStream)).via(Zip.writeFlow)
Source.fromGraph(StreamConverter(contentStream)).via(Zip.writeFlow)
}
}

Expand Down

This file was deleted.

0 comments on commit c15f729

Please sign in to comment.