mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-21 07:21:35 +01:00
Fix error
This commit is contained in:
@@ -75,8 +75,8 @@ export async function regenerateTokens(): Promise<void> {
|
||||
|
||||
if (authorization_tokens.status === 200) {
|
||||
await setSpotifyAccount({
|
||||
access_token: (await getSpotifyAccount()).access_token,
|
||||
refresh_token: authorization_tokens.data.access_token,
|
||||
access_token: authorization_tokens.data.access_token,
|
||||
refresh_token,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user