aboutsummaryrefslogtreecommitdiff
path: root/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/StatisticsApi.kt
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-22 22:32:27 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-22 22:32:27 -0600
commit707b89f48297c68af514d6aa475b13624652df51 (patch)
tree4b63479f55e404a8b35e958a1e7a6b4439517096 /shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/StatisticsApi.kt
parent35da6cfb0b80b57a7c3c47c7f9f9b8a5f222019d (diff)
downloadetbsa-trackermap-mobile-707b89f48297c68af514d6aa475b13624652df51.tar.gz
etbsa-trackermap-mobile-707b89f48297c68af514d6aa475b13624652df51.tar.bz2
etbsa-trackermap-mobile-707b89f48297c68af514d6aa475b13624652df51.zip
Removed all Java references from shared module
Diffstat (limited to 'shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/StatisticsApi.kt')
-rw-r--r--shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/StatisticsApi.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/StatisticsApi.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/StatisticsApi.kt
index d121f81..296e589 100644
--- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/StatisticsApi.kt
+++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/StatisticsApi.kt
@@ -11,6 +11,7 @@
*/
package mx.trackermap.TrackerMap.client.apis
+import kotlinx.datetime.LocalDateTime
import mx.trackermap.TrackerMap.client.models.Statistics
import mx.trackermap.TrackerMap.client.infrastructure.*
@@ -25,7 +26,7 @@ class StatisticsApi(defaultBaseUrl: String) : ApiClient(defaultBaseUrl) {
* @return kotlin.Array<Statistics>
*/
@Suppress("UNCHECKED_CAST")
- suspend fun statisticsGet(from: java.time.LocalDateTime, to: java.time.LocalDateTime): Array<Statistics> {
+ suspend fun statisticsGet(from: LocalDateTime, to: LocalDateTime): Array<Statistics> {
val localVariableQuery: MultiValueMap = mapOf("from" to listOf("$from"), "to" to listOf("$to"))
val localVariableConfig = RequestConfig(
RequestMethod.GET,