fix: use correct plugin_id for WaterCrawl datasource (#33182)

Co-authored-by: bgondell <bruno.gondell@gmail.com0>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: Crazywoola <100913391+crazywoola@users.noreply.github.com>
This commit is contained in:
Bruno Gondell 2026-03-10 01:32:40 -04:00 committed by GitHub
parent eaf86c521f
commit 3835cfe87e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 2 deletions

View File

@ -824,6 +824,7 @@ class DatasourceProviderService:
"langgenius/firecrawl_datasource", "langgenius/firecrawl_datasource",
"langgenius/notion_datasource", "langgenius/notion_datasource",
"langgenius/jina_datasource", "langgenius/jina_datasource",
"watercrawl/watercrawl_datasource",
]: ]:
datasource_provider_id = DatasourceProviderID(f"{datasource.plugin_id}/{datasource.provider}") datasource_provider_id = DatasourceProviderID(f"{datasource.plugin_id}/{datasource.provider}")
credentials = self.list_datasource_credentials( credentials = self.list_datasource_credentials(

View File

@ -124,7 +124,7 @@ class WebsiteService:
if provider == "firecrawl": if provider == "firecrawl":
plugin_id = "langgenius/firecrawl_datasource" plugin_id = "langgenius/firecrawl_datasource"
elif provider == "watercrawl": elif provider == "watercrawl":
plugin_id = "langgenius/watercrawl_datasource" plugin_id = "watercrawl/watercrawl_datasource"
elif provider == "jinareader": elif provider == "jinareader":
plugin_id = "langgenius/jina_datasource" plugin_id = "langgenius/jina_datasource"
else: else:

View File

@ -21,7 +21,7 @@ from core.trigger.debug.event_selectors import (
select_trigger_debug_events, select_trigger_debug_events,
) )
from core.trigger.debug.events import PluginTriggerDebugEvent, WebhookDebugEvent from core.trigger.debug.events import PluginTriggerDebugEvent, WebhookDebugEvent
from core.workflow.enums import NodeType from dify_graph.enums import NodeType
from tests.unit_tests.core.trigger.conftest import VALID_PROVIDER_ID from tests.unit_tests.core.trigger.conftest import VALID_PROVIDER_ID