From 116c78627fd22c4a6b70d5343d6e89fa9ab9e7ad Mon Sep 17 00:00:00 2001 From: vlad Date: Mon, 28 Aug 2017 17:47:43 -0700 Subject: Making StringId parser to preserve case --- src/main/scala/xyz/driver/pdsuicommon/http/Directives.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.3