Skip to content

Commit

Permalink
update route
Browse files Browse the repository at this point in the history
(old route was deprecated)
  • Loading branch information
westnordost committed Dec 31, 2024
1 parent 1a97dfc commit df50579
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class TracksApiClient(
val tags = listOf(ApplicationConstants.NAME.lowercase()).joinToString()
val xml = tracksSerializer.serialize(trackpoints)

val response = httpClient.post(baseUrl + "gpx/create") {
val response = httpClient.post(baseUrl + "gpx") {
userLoginSource.accessToken?.let { bearerAuth(it) }
setBody(MultiPartFormDataContent(formData {
append("file", xml, Headers.build {
Expand Down

0 comments on commit df50579

Please sign in to comment.