Skip to content

Commit

Permalink
Changes GraphQL tooltip for searchWindowUsed to say minutes, instead …
Browse files Browse the repository at this point in the history
…of seconds.
  • Loading branch information
eibakke committed Oct 22, 2024
1 parent 559fac5 commit 2dd1c0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static GraphQLObjectType create(GraphQLScalarType dateTimeScalar) {
"override the value if it is too small or too large. When paging OTP adjusts " +
"it to the appropriate size, depending on the number of itineraries found in " +
"the current search window. The scaling of the search window ensures faster " +
"paging and limits resource usage. The unit is seconds."
"paging and limits resource usage. The unit is minutes."
)
.type(new GraphQLNonNull(Scalars.GraphQLInt))
.dataFetcher(e -> ((TripSearchMetadata) e.getSource()).searchWindowUsed.toMinutes())
Expand Down

0 comments on commit 2dd1c0b

Please sign in to comment.