mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-21 21:50:49 +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) {
|
||||
const appConfig =
|
||||
req.config ??
|
||||
req?.config ??
|
||||
(await getAppConfig({
|
||||
role: req?.user?.role,
|
||||
}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue