Skip to content

Commit

Permalink
rename variant field
Browse files Browse the repository at this point in the history
  • Loading branch information
remo87 authored and javfg committed Aug 19, 2024
1 parent 819a042 commit 2799a7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/models/entities/Evidence.scala
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ object Evidence extends Logging {
)
)
val biomarkerVariantImp: ObjectType[Backend, JsValue] = ObjectType(
"variant",
"geneticVariation",
fields[Backend, JsValue](
Field(
"id",
Expand Down Expand Up @@ -235,10 +235,10 @@ object Evidence extends Logging {
resolve = js => (js.value \ "geneExpression").asOpt[Seq[JsValue]]
),
Field(
"variant",
"geneticVariation",
OptionType(ListType(biomarkerVariantImp)),
description = None,
resolve = js => (js.value \ "variant").asOpt[Seq[JsValue]]
resolve = js => (js.value \ "geneticVariation").asOpt[Seq[JsValue]]
)
)
)
Expand Down

0 comments on commit 2799a7d

Please sign in to comment.