Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dmivankov committed Oct 16, 2023
1 parent ee34140 commit 7767c77
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/main/scala/cognite/spark/v1/DefaultSource.scala
Original file line number Diff line number Diff line change
Expand Up @@ -346,12 +346,7 @@ object DefaultSource {
}
clientId <- parameters.get("clientId")
clientSecret <- parameters.get("clientSecret")
clientCredentials = OAuth2.ClientCredentials(
tokenUri,
clientId,
clientSecret,
scopes,
audience)
clientCredentials = OAuth2.ClientCredentials(tokenUri, clientId, clientSecret, scopes, audience)
} yield CdfSparkAuth.OAuth2ClientCredentials(clientCredentials)

val session = for {
Expand Down

0 comments on commit 7767c77

Please sign in to comment.