From 064153ba81b89e70068ae4bbd01469a5fa350d9b Mon Sep 17 00:00:00 2001 From: Igor Vovk Date: Thu, 8 Aug 2024 18:05:32 +0200 Subject: [PATCH] Remove tagless --- .../src/main/scala/com/sksamuel/elastic4s/ElasticClient.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elastic4s-core/src/main/scala/com/sksamuel/elastic4s/ElasticClient.scala b/elastic4s-core/src/main/scala/com/sksamuel/elastic4s/ElasticClient.scala index 7bc7988e61..7bfc026d94 100644 --- a/elastic4s-core/src/main/scala/com/sksamuel/elastic4s/ElasticClient.scala +++ b/elastic4s-core/src/main/scala/com/sksamuel/elastic4s/ElasticClient.scala @@ -63,7 +63,7 @@ case class ElasticClient(client: HttpClient) extends AutoCloseable { } } - private def authenticate[F[_]](request: ElasticRequest, authentication: Authentication): ElasticRequest = { + private def authenticate(request: ElasticRequest, authentication: Authentication): ElasticRequest = { authentication match { case Authentication.UsernamePassword(username, password) => request.addHeader(