aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/xyz/driver/pdsuidomain/formats/json/userhistory
diff options
context:
space:
mode:
authorVyatcheslav Suharnikov <arz.freezy@gmail.com>2017-07-12 11:39:40 +0300
committerVyatcheslav Suharnikov <arz.freezy@gmail.com>2017-07-12 14:07:05 +0300
commite2313321736520e6acaeb9aaa6ab426e6a8415ff (patch)
treed95187e353f2b03644ec02d8a92711ce9ec69efb /src/main/scala/xyz/driver/pdsuidomain/formats/json/userhistory
parent7ab16021fe2b7e1f7d9d7800458e737d015e7630 (diff)
downloadrest-query-e2313321736520e6acaeb9aaa6ab426e6a8415ff.tar.gz
rest-query-e2313321736520e6acaeb9aaa6ab426e6a8415ff.tar.bz2
rest-query-e2313321736520e6acaeb9aaa6ab426e6a8415ff.zip
PDSUI-2018 Change user type from LongId to StringId
Diffstat (limited to 'src/main/scala/xyz/driver/pdsuidomain/formats/json/userhistory')
-rw-r--r--src/main/scala/xyz/driver/pdsuidomain/formats/json/userhistory/ApiUserHistory.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/scala/xyz/driver/pdsuidomain/formats/json/userhistory/ApiUserHistory.scala b/src/main/scala/xyz/driver/pdsuidomain/formats/json/userhistory/ApiUserHistory.scala
index 2d0df80..127337f 100644
--- a/src/main/scala/xyz/driver/pdsuidomain/formats/json/userhistory/ApiUserHistory.scala
+++ b/src/main/scala/xyz/driver/pdsuidomain/formats/json/userhistory/ApiUserHistory.scala
@@ -7,7 +7,7 @@ import play.api.libs.json.{Format, JsPath}
import xyz.driver.pdsuidomain.entities.UserHistory
final case class ApiUserHistory(id: Long,
- executor: Long,
+ executor: String,
recordId: Option[Long],
documentId: Option[Long],
trialId: Option[String],
@@ -19,7 +19,7 @@ final case class ApiUserHistory(id: Long,
object ApiUserHistory {
implicit val format: Format[ApiUserHistory] = (
(JsPath \ "id").format[Long] and
- (JsPath \ "executor").format[Long] and
+ (JsPath \ "executor").format[String] and
(JsPath \ "recordId").formatNullable[Long] and
(JsPath \ "documentId").formatNullable[Long] and
(JsPath \ "trialId").formatNullable[String] and