Skip to content

Commit

Permalink
Update zio-http/src/main/scala/zio/http/Flash.scala
Browse files Browse the repository at this point in the history
Co-authored-by: Jules Ivanic <[email protected]>
  • Loading branch information
TomTriple and guizmaii authored Oct 18, 2023
1 parent 1f9fcf0 commit 0f0434e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zio-http/src/main/scala/zio/http/Flash.scala
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ object Flash {
case OrElse(self, that) =>
(loop(self, map) match {
case Left(_) => loop(that, map)
case Right(value) => Right(value)
case r @ Right(_) => r.asInstanceOf[Either[Throwable, A]]
}).asInstanceOf[Either[Throwable, A]]
case FlatMap(self, f) =>
loop(self, map) match {
Expand Down

0 comments on commit 0f0434e

Please sign in to comment.