Skip to content

Commit

Permalink
Update TripPlanningService (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksharma-xyz authored Sep 18, 2024
1 parent 5f04840 commit bb00878
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions app/src/main/java/xyz/ksharma/krail/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class MainActivity : ComponentActivity() {
Timber.d("ANY: ${x.getOrNull()?.locations?.map { it.productClasses.contains(1) }}")
}


setContent {
StartTheme {
KrailApp()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ interface TripPlanningService {
*
* Available values : EPSG:4326
*/
@Query("coordOutputFormat") coordOutputFormat: String= "EPSG:4326",
@Query("coordOutputFormat") coordOutputFormat: String = "EPSG:4326",

/**
* Including this parameter enables a number of options that result in the stop finder
Expand All @@ -66,7 +66,7 @@ interface TripPlanningService {
*
* Default value : true
*/
@Query("TfNSWSF") tfNSWSF:String = "true",
@Query("TfNSWSF") tfNSWSF: String = "true",

/**
* Indicates which version of the API the caller is expecting for both request and response
Expand All @@ -75,7 +75,7 @@ interface TripPlanningService {
*
* Default value : 10.2.1.42
*/
@Query("version") version: String = "10.2.1.42",
@Query("version") version: String? = null,
): Response<StopFinderResponse>

/**
Expand Down

0 comments on commit bb00878

Please sign in to comment.