From 57d189b483fec6c888e62feefa293a29f9bdcedd Mon Sep 17 00:00:00 2001 From: francisye19 <39322616+francisye19@users.noreply.github.com> Date: Mon, 19 Jan 2026 11:01:34 +0800 Subject: [PATCH] fix: Correct gitlab_url access in sync_data_source.py (#12681) ### What problem does this PR solve? Correct gitlab_url access. See https://github.com/infiniflow/ragflow/blob/main/web/src/pages/user-setting/data-source/constant/index.tsx#L660-L666 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- rag/svr/sync_data_source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rag/svr/sync_data_source.py b/rag/svr/sync_data_source.py index aae977891..b6cce38b2 100644 --- a/rag/svr/sync_data_source.py +++ b/rag/svr/sync_data_source.py @@ -1096,7 +1096,7 @@ class Gitlab(SyncBase): self.connector.load_credentials( { "gitlab_access_token": self.conf.get("credentials", {}).get("gitlab_access_token"), - "gitlab_url": self.conf.get("credentials", {}).get("gitlab_url"), + "gitlab_url": self.conf.get("gitlab_url"), } )