mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 21:05:19 +00:00
fix: Replace hardcoded bearer token with dynamic token variable
This commit is contained in:
parent
0e60ba4723
commit
d1ca6922d9
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue