Skip to content

Commit

Permalink
chore: Resolve compiler warning toObjsWithLang (NO-TICKET) (#2671)
Browse files Browse the repository at this point in the history
  • Loading branch information
seakayone committed May 23, 2023
1 parent 62eb63c commit dc7e2c2
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -2199,7 +2199,7 @@ object EntityInfoContentV2 {
// This is a string with a language tag.
PredicateInfoV2(
predicateIri = predicateIri,
objects = JsonLDArray(Seq(objObj)).toObjsWithLang
objects = JsonLDArray(Seq(objObj)).toObjsWithLang()
)
} else {
throw BadRequestException(s"Unexpected object value for predicate $predicateIri: $objObj")
Expand Down Expand Up @@ -2245,7 +2245,7 @@ object EntityInfoContentV2 {
) {
PredicateInfoV2(
predicateIri = predicateIri,
objects = objArray.toObjsWithLang
objects = objArray.toObjsWithLang()
)
} else {
throw BadRequestException(s"Invalid object for predicate $predicateIriStr: $predicateValue")
Expand Down

0 comments on commit dc7e2c2

Please sign in to comment.