Skip to content

Commit 7b527a6

Browse files
fix: Remove apitoken from logs (#45)
1 parent e75d0fb commit 7b527a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.log
55
build
66
.codacy
7-
7+
.DS_Store
88

99
# Ignore IntelliJ AI rules
1010
.junie/guidelines.md

src/main/kotlin/com/codacy/intellij/plugin/services/api/Api.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Api {
3535
try {
3636
config.init()
3737
val url = URL("$baseUrl/$endpointUrl")
38-
println("URL: $url TOKEN: $apiToken")
38+
println("Request URL: $url")
3939
val connection = url.openConnection() as HttpURLConnection
4040
connection.requestMethod = "GET"
4141
connection.setRequestProperty("api-token", apiToken)

0 commit comments

Comments
 (0)