Skip to content

Commit

Permalink
Fix transmodel API type
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried authored and t2gran committed Jan 11, 2024
1 parent 381153b commit 5fbf371
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import graphql.Scalars;
import graphql.language.ArrayValue;
import graphql.language.EnumValue;
import graphql.language.FloatValue;
import graphql.language.ObjectField;
import graphql.language.ObjectValue;
Expand Down Expand Up @@ -139,7 +140,7 @@ private static Value mapPenaltyForStreetMode(
ObjectField
.newObjectField()
.name(FIELD_STREET_MODE)
.value((Value) streetModeGQL.getValue())
.value(EnumValue.of(streetModeGQL.getName()))
.build()
)
.objectField(
Expand Down

0 comments on commit 5fbf371

Please sign in to comment.