mirror of
https://github.com/DreamExposure/DisCal-Discord-Bot.git
synced 2026-01-26 05:48:29 -06:00
Adding more logging for google auth!
I will eventually figure out how to fix this system lmao
This commit is contained in:
@@ -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)
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user