Skip to content

Commit f7c3d35

Browse files
giacomoaccursiandrea-acampora
authored andcommitted
chore: remove encodeToString method
1 parent 60984b1 commit f7c3d35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/infrastructure/webclient/WebClient.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class WebClient(vertx: Vertx) :
6666
private val client: WebClient = WebClient.create(vertx)
6767

6868
override fun getUserAuthentication(user: User): Future<Boolean> =
69-
client.postAbs("$UMI_URI/auth").sendJson(Json.encodeToString(user.toUserDto())).map {
69+
client.postAbs("$UMI_URI/auth").sendJson(user.toUserDto()).map {
7070
it.statusCode() == HttpResponseStatus.OK.code()
7171
}
7272

0 commit comments

Comments
 (0)