Skip to content

Commit

Permalink
override headers instead of just headers for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Eliat-Eliat committed Oct 31, 2024
1 parent 340d6e1 commit 41c1edb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/com/cognite/sdk/scala/v1/Client.scala
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ final case class RequestSession[F[_]: Monad: Trace](

def head(
uri: Uri,
headers: Seq[Header] = Seq()
overrideHeaders: Seq[Header] = Seq()
): F[Seq[Header]] =
sttpRequest
.headers(headers: _*)
.headers(overrideHeaders: _*)
.head(uri)
.send(sttpBackend)
.map(_.headers)
Expand Down

0 comments on commit 41c1edb

Please sign in to comment.