fix: correct cron handler signature input_data: None in beteiligte_sync_cron_step (cron receives no input)

This commit is contained in:
bsiggel
2026-03-31 07:09:02 +00:00
parent e1695e530a
commit 7560953e33

View File

@@ -9,7 +9,6 @@ Läuft alle 15 Minuten und emittiert Sync-Events für Beteiligte die:
"""
import asyncio
from typing import Dict, Any
from motia import FlowContext, cron
from services.espocrm import EspoCRMAPI
import datetime
@@ -25,7 +24,7 @@ config = {
}
async def handler(input_data: Dict[str, Any], ctx: FlowContext) -> None:
async def handler(input_data: None, ctx: FlowContext) -> None:
"""
Cron-Handler: Findet alle Beteiligte die Sync benötigen und emittiert Events
"""