Skip to content

Commit

Permalink
Merge pull request #193 from opentargets/3391-resolve-pharmacogenomic…
Browse files Browse the repository at this point in the history
…s-from-drug-hotfix

update pharmacogenomics by drug resolver
  • Loading branch information
jdhayhurst authored Jul 18, 2024
2 parents 9ecc2f2 + 01a2725 commit 392b0c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/Backend.scala
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ class Backend @Inject() (implicit
}

def getPharmacogenomicsByDrug(id: String): Future[IndexedSeq[Pharmacogenomics]] = {
val queryTerm: Map[String, String] = Map("drugId.keyword" -> id)
val queryTerm: Map[String, String] = Map("drugs.drugId.keyword" -> id)
getPharmacogenomics(id, queryTerm)
}

Expand Down

0 comments on commit 392b0c2

Please sign in to comment.