From 0955aca52a49e1adf7624e7900a1a76ac2ec00a7 Mon Sep 17 00:00:00 2001 From: mpeltriaux Date: Fri, 14 Jan 2022 14:19:17 +0100 Subject: [PATCH] # Bugfix * fixes bug where background mail delivery did not start --- konova/models/object.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/konova/models/object.py b/konova/models/object.py index a27398de..c9a8e6c9 100644 --- a/konova/models/object.py +++ b/konova/models/object.py @@ -229,7 +229,7 @@ class RecordableObjectMixin(models.Model): shared_users = self.users.all().values_list("id", flat=True) for user_id in shared_users: - celery_send_mail_shared_data_unrecorded(self.identifier, user_id) + celery_send_mail_shared_data_unrecorded.delay(self.identifier, user_id) return action @@ -251,7 +251,7 @@ class RecordableObjectMixin(models.Model): shared_users = self.users.all().values_list("id", flat=True) for user_id in shared_users: - celery_send_mail_shared_data_recorded(self.identifier, user_id) + celery_send_mail_shared_data_recorded.delay(self.identifier, user_id) return action