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(