aboutsummaryrefslogtreecommitdiff
path: root/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/EventsApi.kt
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2021-12-04 00:31:32 -0600
committerIván Ávalos <avalos@disroot.org>2021-12-04 00:31:32 -0600
commit0de7448f68def471cd34899f0012865103b0fb81 (patch)
treee73acdeb39ab9d01b20a25027ea5b459954afa29 /shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/EventsApi.kt
parent2532fd70cb0ae8e5a37f1e84312f779b67d50d2f (diff)
downloadetbsa-trackermap-mobile-0de7448f68def471cd34899f0012865103b0fb81.tar.gz
etbsa-trackermap-mobile-0de7448f68def471cd34899f0012865103b0fb81.tar.bz2
etbsa-trackermap-mobile-0de7448f68def471cd34899f0012865103b0fb81.zip
Removed unneeded files and made API functions suspending
Diffstat (limited to 'shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/EventsApi.kt')
-rw-r--r--shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/EventsApi.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/EventsApi.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/EventsApi.kt
index 14d7c89..8c1f2b0 100644
--- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/EventsApi.kt
+++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/EventsApi.kt
@@ -24,7 +24,7 @@ class EventsApi(basePath: kotlin.String = "https://demo.traccar.org/api") : ApiC
* @return Event
*/
@Suppress("UNCHECKED_CAST")
- fun eventsIdGet(id: kotlin.Int): Event {
+ suspend fun eventsIdGet(id: kotlin.Int): Event {
val localVariableConfig = RequestConfig(
RequestMethod.GET,