mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 12:14:33 +01:00
Add new debug
This commit is contained in:
@@ -73,11 +73,16 @@ export async function regenerateTokens(): Promise<void> {
|
||||
},
|
||||
)
|
||||
|
||||
console.log(authorization_tokens.status)
|
||||
|
||||
if (authorization_tokens.status === 200) {
|
||||
console.log(authorization_tokens.data)
|
||||
console.log(authorization_tokens.data.access_token)
|
||||
await setSpotifyAccount({
|
||||
access_token: authorization_tokens.data.access_token,
|
||||
refresh_token,
|
||||
})
|
||||
console.log(await getSpotifyAccount())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user