We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 363152b + 6a2d16a commit cd1b879Copy full SHA for cd1b879
api-scala/src/main/scala/com/codacy/api/client/CodacyClient.scala
@@ -22,10 +22,7 @@ class CodacyClient(
22
23
private val tokens = Map.empty[String, String] ++
24
apiToken.map(t => "api-token" -> t) ++
25
- projectToken.map(t => "project-token" -> t) ++
26
- // This is deprecated and is kept for backward compatibility. It will removed in the context of CY-1272
27
- apiToken.map(t => "api_token" -> t) ++
28
- projectToken.map(t => "project_token" -> t)
+ projectToken.map(t => "project-token" -> t)
29
30
private val remoteUrl = new URL(new URL(apiUrl.getOrElse("https://api.codacy.com")), "/2.0").toString()
31
0 commit comments