Skip to content

Commit

Permalink
review improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
ghik committed Apr 25, 2019
1 parent 9957e88 commit 5b4da03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ lazy val `rest-js` = jsProjectFor(project, rest)
libraryDependencies ++= Dependencies.restSjsDeps.value,
)

lazy val `rest-jetty` = jvmProject(project).in(file("rest/jetty"))
lazy val `rest-jetty` = jvmProject(project.in(file("rest/jetty")))
.dependsOn(rest % CompileAndTest)
.settings(
libraryDependencies ++= Dependencies.restJettyDeps.value,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ object JettyRestClient {
RawRest.safeHandle { request =>
callback =>
val path = baseUrl + PlainValue.encodePath(request.parameters.path)
val httpReq = client.newRequest(baseUrl).method(request.method.toString)
val httpReq = client.newRequest(baseUrl).method(request.method.name)

httpReq.path(path)
request.parameters.query.entries.foreach {
Expand Down

0 comments on commit 5b4da03

Please sign in to comment.