diff --git a/api/api-ktor/src/commonMain/kotlin/app/meetacy/sdk/engine/ktor/requests/users/UsersEngine.kt b/api/api-ktor/src/commonMain/kotlin/app/meetacy/sdk/engine/ktor/requests/users/UsersEngine.kt index 8c22cc2..e517840 100644 --- a/api/api-ktor/src/commonMain/kotlin/app/meetacy/sdk/engine/ktor/requests/users/UsersEngine.kt +++ b/api/api-ktor/src/commonMain/kotlin/app/meetacy/sdk/engine/ktor/requests/users/UsersEngine.kt @@ -40,7 +40,7 @@ internal class UsersEngine( val response = httpClient.get(url.string) { apiVersion(request.apiVersion) token(request.token) - parameter("id", request.userId) + parameter("id", request.userId?.string) }.bodyAsSuccess() return GetUserRequest.Response(response.type()) }