fix: Replace hardcoded bearer token with dynamic token variable

This commit is contained in:
Taylor Wilsdon (aider) 2024-12-15 20:09:35 -05:00
parent 0e60ba4723
commit d1ca6922d9

View File

@ -147,7 +147,7 @@ export const createPicker = () => {
}; };
console.log('Created result object:', { console.log('Created result object:', {
...result, ...result,
headers: { ...result.headers, Authorization: '[REDACTED]' } headers: { ...result.headers, Authorization: `Bearer ${token}` }
}); });
resolve(result); resolve(result);
} catch (error) { } catch (error) {