Last active
August 29, 2015 14:26
-
-
Save Jacoby6000/6c81d7a66809035af57b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[info] Compiling 17 Scala sources to /media/sf_windows/Users/Jacob/Projects/virtual-receptionist-server/target/scala-2.11/classes... | |
[error] /media/sf_windows/Users/Jacob/Projects/virtual-receptionist-server/src/main/scala/com/jbarber/receptionist/web/RootWebService.scala:20: type mismatch; | |
[error] found : Object | |
[error] required: scalaz.concurrent.Task[org.http4s.Response] | |
[error] .flatMap(_.getOrElse(BadRequest("Failure for some reason. i dunno.") : Task[Response])) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val service = HttpService { | |
case req @ _ -> Root / "visitors" => | |
visitorWebService | |
.routes(req) | |
.map(_.getOrElse(BadRequest("Failure for some reason. i dunno."))) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment