Skip to content

Commit

Permalink
Remove println statements
Browse files Browse the repository at this point in the history
  • Loading branch information
gferon committed Sep 9, 2024
1 parent d66dac8 commit a6dc2ac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,9 @@ class RenewApiRequestHandler : ApiRequestHandler {
}

override fun onSuccess(credentials: Credentials) {
println("RenewApiRequestHandler::onSuccess credentials.expiresAt ${credentials.expiresAt}");
val scope = credentials.scope?.split(" ") ?: listOf()
val formattedDate = credentials.expiresAt.toInstant().toString();

println("RenewApiRequestHandler::onSuccess formattedDate ${formattedDate}");

result.success(
mapOf(
"accessToken" to credentials.accessToken,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,8 @@ class SaveCredentialsRequestHandler : CredentialsManagerRequestHandler {
scope = scopes.joinToString(separator = " ")
}

println("SaveCredentialsRequestHandler::get " + credentials.get("expiresAt"))

val instant = Instant.parse(credentials.get("expiresAt") as String)

println("SaveCredentialsRequestHandler Instant::parse " + instant)

credentialsManager.saveCredentials(Credentials(
credentials.get("idToken") as String,
credentials.get("accessToken") as String,
Expand Down

0 comments on commit a6dc2ac

Please sign in to comment.