From 5a156141ef1b4f19df824b050354f86d9a95be71 Mon Sep 17 00:00:00 2001 From: y9Kap Date: Tue, 5 Mar 2024 09:43:50 +0300 Subject: [PATCH] fix(#91-change-getUser-request-type): userId parse error was fixed --- .../app/meetacy/sdk/engine/ktor/requests/users/UsersEngine.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) }