mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +02:00
fix: optional req not provided, so req.config fails
This commit is contained in:
parent
b75b799e34
commit
1abf37af5a
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ class STTService {
|
||||||
*/
|
*/
|
||||||
async getProviderSchema(req) {
|
async getProviderSchema(req) {
|
||||||
const appConfig =
|
const appConfig =
|
||||||
req.config ??
|
req?.config ??
|
||||||
(await getAppConfig({
|
(await getAppConfig({
|
||||||
role: req?.user?.role,
|
role: req?.user?.role,
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue