Timothy Jaeryang Baek 5 ماه پیش
والد
کامیت
ef5a5be60d
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      backend/open_webui/routers/retrieval.py

+ 2 - 2
backend/open_webui/routers/retrieval.py

@@ -466,8 +466,8 @@ async def update_rag_config(
     )
 
     request.app.state.config.ENABLE_GOOGLE_DRIVE_INTEGRATION = (
-        form_data.ENABLE_GOOGLE_DRIVE_INTEGRATION
-        if form_data.ENABLE_GOOGLE_DRIVE_INTEGRATION is not None
+        form_data.enable_google_drive_integration
+        if form_data.enable_google_drive_integration is not None
         else request.app.state.config.ENABLE_GOOGLE_DRIVE_INTEGRATION
     )