mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
fix: Replace hardcoded bearer token with dynamic token variable
This commit is contained in:
@@ -147,7 +147,7 @@ export const createPicker = () => {
|
||||
};
|
||||
console.log('Created result object:', {
|
||||
...result,
|
||||
headers: { ...result.headers, Authorization: '[REDACTED]' }
|
||||
headers: { ...result.headers, Authorization: `Bearer ${token}` }
|
||||
});
|
||||
resolve(result);
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user