diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-01-17 13:48:37 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-01-17 13:48:37 -0600 |
commit | 9cde1ebda80ed802121597421b2286e58fcb4b1d (patch) | |
tree | 345eb72740eb15995685e9ac434f3cacb5f39573 /shared/src/commonMain | |
parent | e4705c337c334b1cd0c0529e91032847c35f4fe3 (diff) | |
download | etbsa-trackermap-mobile-9cde1ebda80ed802121597421b2286e58fcb4b1d.tar.gz etbsa-trackermap-mobile-9cde1ebda80ed802121597421b2286e58fcb4b1d.tar.bz2 etbsa-trackermap-mobile-9cde1ebda80ed802121597421b2286e58fcb4b1d.zip |
Fixed retrieval of geofences for non-admin users
Diffstat (limited to 'shared/src/commonMain')
-rw-r--r-- | shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/GeofencesController.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/GeofencesController.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/GeofencesController.kt index fc336d1..e9b19b6 100644 --- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/GeofencesController.kt +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/GeofencesController.kt @@ -20,7 +20,7 @@ class GeofencesController( } private suspend fun fetchGeofences() { - val geofences = geofencesApi.geofencesGet(all = true) + val geofences = geofencesApi.geofencesGet() val geofencesMap = mutableMapOf<Int, Geofence>() geofences.forEach { geofencesMap[it.id!!] = it |