Skip to content

Commit

Permalink
Fix anonymize_old_users_task task name
Browse files Browse the repository at this point in the history
  • Loading branch information
matti-lamppu committed Nov 21, 2024
1 parent 23efc37 commit cf0789f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tilavarauspalvelu/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,6 @@ def send_user_anonymization_email_task():
EmailService.send_user_anonymization_emails()


@app.task(name="deactivate_old_permissions")
@app.task(name="anonymize_old_users")
def anonymize_old_users_task() -> None:
User.objects.anonymize_inactive_users()

0 comments on commit cf0789f

Please sign in to comment.