Fix cron handler signature: remove event parameter from cron step

- Fix calendar_sync_cron_step.py handler signature from (event, context) to (context)
- Cron steps only receive context parameter, not event
This commit is contained in:
root
2025-10-23 17:33:58 +00:00
parent 080eebd5ea
commit 08b21ef268
3 changed files with 70 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ config = {
'emits': ['calendar.sync.triggered']
}
async def handler(event, context):
async def handler(context):
try:
# Prüfe ob bereits ein Sync läuft
redis_client = redis.Redis(