Skip to content

Commit

Permalink
Fix deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Aug 30, 2023
1 parent 219e6d6 commit 0b3ee9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/shared/src/main/scala/PreparedQuery.scala
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ object PreparedQuery {
Stream.resource(proto.bind(args, or)).flatMap { cursor =>
def chunks: Stream[F, B] =
Stream.eval(cursor.execute(chunkSize)).flatMap { case (bs, more) =>
val s = Stream.chunk(Chunk.seq(bs))
val s = Stream.chunk(Chunk.from(bs))
if (more) s ++ chunks
else s
}
Expand Down

0 comments on commit 0b3ee9e

Please sign in to comment.