From b4785c42aa026a561674257955a7c59b8c964e6f Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Tue, 25 Jan 2022 22:49:10 -0600 Subject: Refactored session handling into a shared SessionManager to prevent mutability and get it run in Native (untested!) --- .../commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/UsersApi.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/UsersApi.kt') diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/UsersApi.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/UsersApi.kt index 51f2138..21e4bd3 100644 --- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/UsersApi.kt +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/UsersApi.kt @@ -15,7 +15,7 @@ import mx.trackermap.TrackerMap.client.models.User import mx.trackermap.TrackerMap.client.infrastructure.* -class UsersApi(defaultBaseUrl: String) : ApiClient(defaultBaseUrl) { +class UsersApi(sessionManager: SessionManager) : ApiClient(sessionManager) { /** * Fetch a list of Users -- cgit v1.2.3