aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlad <vlad@driver.xyz>2017-08-28 17:47:43 -0700
committervlad <vlad@driver.xyz>2017-08-28 17:47:43 -0700
commit116c78627fd22c4a6b70d5343d6e89fa9ab9e7ad (patch)
tree3aef1b728d77777be3285ee19b1dddec18c7e0f2
parentc7340240493e85ebe1b0212a2f1f1269f25a874a (diff)
downloadrest-query-116c78627fd22c4a6b70d5343d6e89fa9ab9e7ad.tar.gz
rest-query-116c78627fd22c4a6b70d5343d6e89fa9ab9e7ad.tar.bz2
rest-query-116c78627fd22c4a6b70d5343d6e89fa9ab9e7ad.zip
Making StringId parser to preserve casev0.3.8
-rw-r--r--src/main/scala/xyz/driver/pdsuicommon/http/Directives.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/xyz/driver/pdsuicommon/http/Directives.scala b/src/main/scala/xyz/driver/pdsuicommon/http/Directives.scala
index 54f7102..e9a4132 100644
--- a/src/main/scala/xyz/driver/pdsuicommon/http/Directives.scala
+++ b/src/main/scala/xyz/driver/pdsuicommon/http/Directives.scala
@@ -53,7 +53,7 @@ trait Directives {
}
def StringIdInPath[T]: PathMatcher1[StringId[T]] =
- PathMatchers.Segment.map((id) => StringId(id.toString.toLowerCase))
+ PathMatchers.Segment.map((id) => StringId(id.toString))
def LongIdInPath[T]: PathMatcher1[LongId[T]] =
PathMatchers.LongNumber.map((id) => LongId(id))