Skip to content

Commit

Permalink
correct gbfs parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
westnordost committed Jan 8, 2025
1 parent 24cb739 commit 4e03ee7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private suspend fun readGbfsData(gbfsFilePath: String): FeatureCollection {
"vehicle_type" to (bike["vehicle_type"] ?: JsonNull),
"vehicle_type_id" to (bike["vehicle_type_id"] ?: JsonNull),
"last_reported" to (bike["last_reported"] ?: JsonNull),
"vehicle_range_meters" to (bike["vehicle_range_meters"] ?: JsonNull),
"current_range_meters" to (bike["current_range_meters"] ?: JsonNull),
"is_reserved" to (bike["is_reserved"] ?: JsonNull),
"is_disabled" to (bike["is_disabled"] ?: JsonNull),
),
Expand Down

0 comments on commit 4e03ee7

Please sign in to comment.