aboutsummaryrefslogtreecommitdiff
path: root/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/UserController.kt
blob: a398185e24b50a2573d8b41025c2557d8d79d66b (plain)
1
2
3
4
5
6
7
8
9
10
package mx.trackermap.TrackerMap.controllers

import mx.trackermap.TrackerMap.client.apis.UsersApi
import mx.trackermap.TrackerMap.client.models.User

class UserController(private val usersApi: UsersApi) {
    suspend fun updateUser(user: User) {
        usersApi.usersPost(user)
    }
}