Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
.log
build
.codacy

.DS_Store

# Ignore IntelliJ AI rules
.junie/guidelines.md
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Api {
try {
config.init()
val url = URL("$baseUrl/$endpointUrl")
println("URL: $url TOKEN: $apiToken")
println("Request URL: $url")
Copy link

Copilot AI Dec 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using println for logging in production code is not recommended. Consider using the Logger class (already imported in this file) instead:

Logger.info("Request URL: $url")

This ensures consistent logging throughout the application and allows better control over log levels and output.

Suggested change
println("Request URL: $url")
Logger.info("Request URL: $url")

Copilot uses AI. Check for mistakes.
val connection = url.openConnection() as HttpURLConnection
connection.requestMethod = "GET"
connection.setRequestProperty("api-token", apiToken)
Expand Down