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)
This commit is contained in:
francisye19
2026-01-19 11:01:34 +08:00
committed by GitHub
parent 0a8eb11c3d
commit 57d189b483

View File

@ -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"),
}
)