File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
session/core/src/main/scala/com/softwaremill/session Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ ThisBuild / organization := "app.softnetwork"
3030
3131name := " generic-persistence-api"
3232
33- ThisBuild / version := " 0.3.4"
33+ ThisBuild / version := " 0.3.4.1 "
3434
3535ThisBuild / scalaVersion := " 2.12.11"
3636
Original file line number Diff line number Diff line change @@ -55,13 +55,9 @@ private[session] trait OneOffTapirSession[T] {
5555 option : Option [T ],
5656 existing : Option [String ]
5757 ): Either [ERROR_OUTPUT , Option [String ]] =
58- existing match {
59- case None =>
60- option match {
61- case Some (v) => Right (Some (manager.clientSessionManager.encode(v)))
62- case _ => Right (None )
63- }
64- case some => Right (some)
58+ option match {
59+ case Some (v) => Right (Some (manager.clientSessionManager.encode(v)))
60+ case _ => Right (existing)
6561 }
6662
6763 def setOneOffCookieSession [SECURITY_INPUT , ERROR_OUTPUT , SECURITY_OUTPUT ](
You can’t perform that action at this time.
0 commit comments