Skip to content
This repository was archived by the owner on Mar 8, 2024. It is now read-only.

Commit

Permalink
#3 Fixed Match error
Browse files Browse the repository at this point in the history
  • Loading branch information
rriclet committed Nov 3, 2020
1 parent a190a51 commit 01b2df5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ class MultiAuthSrv(configuration: Configuration, appConfig: ApplicationConfig, a
success => Right(success)
)
}.fold({
case Seq() => Seq(("", AuthorizationError("no authentication provider found")))
case otherwise => otherwise
case Seq() => Left(Seq(("", AuthorizationError("no authentication provider found"))))
case otherwise => Left(otherwise)
},
a => a
a => Right(a)
)

either match {
Expand Down

0 comments on commit 01b2df5

Please sign in to comment.