diff options
author | Aleksandr <ognelisar@gmail.com> | 2017-10-26 11:49:35 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-26 11:49:35 +0700 |
commit | a453d027f4a7a9a4f14ef272724c24fd19eb82a2 (patch) | |
tree | 2b01109efef171bee60fb45be008dd671eb8cbdf /src/main/scala/xyz/driver/pdsuidomain | |
parent | 49e1fd60cd562f33fbad7d4dd2ceaa535b4434d1 (diff) | |
parent | 91d58df031f5fdac59d70289bf9a7377a3529a9a (diff) | |
download | rest-query-0.10.12.tar.gz rest-query-0.10.12.tar.bz2 rest-query-0.10.12.zip |
Merge pull request #56 from drivergroup/PDSUI-2341v0.10.12
PDSUI-2341Broken PATCH method for RC
Diffstat (limited to 'src/main/scala/xyz/driver/pdsuidomain')
-rw-r--r-- | src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/record.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/record.scala b/src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/record.scala index d00aa14..60ae437 100644 --- a/src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/record.scala +++ b/src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/record.scala @@ -94,7 +94,7 @@ object record { val endOriginalPage = fields .get("endOriginalPage") - .map(_.convertTo[Double]) + .flatMap(_.convertTo[Option[Double]]) Duplicate( startPage = startPage, |