test: update recurrence expansion test + fix TS/Lint errors
This commit is contained in:
@@ -121,7 +121,7 @@ export async function exchangeCodeForTokens(
|
||||
const tokens = await tokenResponse.json();
|
||||
|
||||
if (!tokens.access_token) {
|
||||
const { access_token, refresh_token, ...safeTokens } = tokens;
|
||||
const { access_token: _at, refresh_token: _rt, ...safeTokens } = tokens;
|
||||
logger.error('Token response missing access_token', { response: JSON.stringify(safeTokens).substring(0, 500) });
|
||||
throw new Error('Invalid token response');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user