aboutsummaryrefslogtreecommitdiff
path: root/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/PermissionsApi.kt
diff options
context:
space:
mode:
Diffstat (limited to 'shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/PermissionsApi.kt')
-rw-r--r--shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/PermissionsApi.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/PermissionsApi.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/PermissionsApi.kt
index 29c18b4..bfa2c2e 100644
--- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/PermissionsApi.kt
+++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/apis/PermissionsApi.kt
@@ -23,7 +23,7 @@ class PermissionsApi(basePath: kotlin.String = "https://demo.traccar.org/api") :
* @param body
* @return void
*/
- fun permissionsDelete(body: Permission): Unit {
+ suspend fun permissionsDelete(body: Permission): Unit {
val localVariableBody: kotlin.Any? = body
val localVariableConfig = RequestConfig(
@@ -49,7 +49,7 @@ class PermissionsApi(basePath: kotlin.String = "https://demo.traccar.org/api") :
* @return Permission
*/
@Suppress("UNCHECKED_CAST")
- fun permissionsPost(body: Permission): Permission {
+ suspend fun permissionsPost(body: Permission): Permission {
val localVariableBody: kotlin.Any? = body
val localVariableConfig = RequestConfig(