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>2022-01-25 22:49:10 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-25 22:49:10 -0600
commitb4785c42aa026a561674257955a7c59b8c964e6f (patch)
tree1c4e3e9f74e92a222e9f0cffae0457befe39741e /shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/EventsApi.kt
parent4a85207614840d340167000e4d66649fdd462901 (diff)
downloadetbsa-trackermap-mobile-b4785c42aa026a561674257955a7c59b8c964e6f.tar.gz
etbsa-trackermap-mobile-b4785c42aa026a561674257955a7c59b8c964e6f.tar.bz2
etbsa-trackermap-mobile-b4785c42aa026a561674257955a7c59b8c964e6f.zip
Refactored session handling into a shared SessionManager to prevent mutability and get it run in Native (untested!)
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 360d6e1..572fdd0 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
@@ -15,7 +15,7 @@ import mx.trackermap.TrackerMap.client.models.Event
import mx.trackermap.TrackerMap.client.infrastructure.*
-class EventsApi(defaultBaseUrl: String) : ApiClient(defaultBaseUrl) {
+class EventsApi(sessionManager: SessionManager) : ApiClient(sessionManager) {
/**
*