mirror of https://github.com/langgenius/dify.git
fix
This commit is contained in:
parent
623021dcff
commit
7244978b24
|
|
@ -258,6 +258,8 @@ class ScheduleService:
|
||||||
|
|
||||||
return ScheduleConfig(node_id=node_id, cron_expression=cron_expression, timezone=timezone)
|
return ScheduleConfig(node_id=node_id, cron_expression=cron_expression, timezone=timezone)
|
||||||
|
|
||||||
|
return None
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def visual_to_cron(frequency: str, visual_config: VisualConfig) -> str:
|
def visual_to_cron(frequency: str, visual_config: VisualConfig) -> str:
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
|
|
@ -61,5 +61,5 @@ class TriggerHttpRequestCachingService:
|
||||||
"""
|
"""
|
||||||
storage.save(
|
storage.save(
|
||||||
f"{cls._TRIGGER_STORAGE_PATH}/{request_id}.payload",
|
f"{cls._TRIGGER_STORAGE_PATH}/{request_id}.payload",
|
||||||
TypeAdapter(Mapping[str, Any]).dump_json(payload),
|
TypeAdapter(Mapping[str, Any]).dump_json(payload), # type: ignore
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue