Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Johan Torin <[email protected]>
  • Loading branch information
t2gran and jtorin authored Jun 3, 2024
1 parent a4124b4 commit 0292855
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static GraphQLFieldDefinition create(
.description(
"The date and time for the earliest time the user is willing to start the journey " +
"(if `false` or not set) or the latest acceptable time of arriving " +
"(`true`). Defaults to now"
"(`true`). Defaults to now."
)
.type(gqlUtil.dateTimeScalar)
.build()
Expand All @@ -65,8 +65,8 @@ public static GraphQLFieldDefinition create(
.description(
"""
The date and time for the latest time the user is expected to book the journey.
Normally this is when the search is performed(now), plus a small grace period to
complete the booking. Services witch must be booked before this time is excluded. The
Normally this is when the search is performed (now), plus a small grace period to
complete the booking. Services which must be booked before this time is excluded. The
`latestBookingTime` and `minimumBookingPeriod` in `BookingArrangement` (flexible
services only) is used to enforce this. If this parameter is _not set_, no booking-time
restrictions are applied - all journeys are listed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -794,8 +794,8 @@ type QueryType {
boardSlackList: [TransportModeSlack],
"""
The date and time for the latest time the user is expected to book the journey.
Normally this is when the search is performed(now), plus a small grace period to
complete the booking. Services witch must be booked before this time is excluded. The
Normally this is when the search is performed (now), plus a small grace period to
complete the booking. Services which must be booked before this time is excluded. The
`latestBookingTime` and `minimumBookingPeriod` in `BookingArrangement` (flexible
services only) is used to enforce this. If this parameter is _not set_, no booking-time
restrictions are applied - all journeys are listed.
Expand Down

0 comments on commit 0292855

Please sign in to comment.