Skip to content

Commit

Permalink
Adding more logging for google auth!
Browse files Browse the repository at this point in the history
I will eventually figure out how to fix this system lmao
  • Loading branch information
NovaFox161 committed Oct 1, 2023
1 parent 287b7ca commit 09735b3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ object GoogleAuthWrapper {
return Mono.just(token.accessToken)
}

LOGGER.debug("Refreshing local token via CAM | credentialId:$credentialId")

return Mono.fromCallable {
val url = "${Config.URL_CAM.getString()}/v1/token".toHttpUrlOrNull()!!.newBuilder()
.addQueryParameter("host", CalendarHost.GOOGLE.name)
Expand Down Expand Up @@ -106,6 +108,8 @@ object GoogleAuthWrapper {
return Mono.just(token.accessToken)
}

LOGGER.debug("Refreshing local token via CAM | guild:{} | host:{} | calendarId:{} ", calData.guildId, calData.host, calData.calendarNumber)

return Mono.fromCallable {
val url = "${Config.URL_CAM.getString()}/v1/token".toHttpUrlOrNull()!!.newBuilder()
.addQueryParameter("host", calData.host.name)
Expand Down

0 comments on commit 09735b3

Please sign in to comment.