Fix: type error

This commit is contained in:
Aroy-Art 2025-06-30 16:57:50 +02:00
parent 2f017c9932
commit 5f3be27f96
Signed by: Aroy
GPG key ID: DB9689E9391DD156

View file

@ -12,7 +12,7 @@ app.config_from_object("django.conf:settings", namespace="CELERY")
app.conf.beat_schedule = { app.conf.beat_schedule = {
"auth.flush_expired_tokens": { "auth.flush_expired_tokens": {
"task": "api.authentication.tasks.flush_expired_tokens", "task": "api.authentication.tasks.flush_expired_tokens",
"schedule": crontab(hour=2, minute=0), # Daily at 2:00 AM "schedule": crontab(hour="2", minute="0"), # Daily at 2:00 AM
}, },
} }