refactor: formatting
This commit is contained in:
@@ -48,6 +48,7 @@ def post_adoption_notice_save(pk):
|
||||
notify_search_subscribers(instance, only_if_active=True)
|
||||
notify_of_AN_to_be_checked(instance)
|
||||
|
||||
|
||||
@celery_app.task(name="tools.healthcheck")
|
||||
def task_healthcheck():
|
||||
healthcheck_ok()
|
||||
@@ -58,9 +59,10 @@ def task_healthcheck():
|
||||
def task_send_notification_email(notification_pk):
|
||||
send_notification_email(notification_pk)
|
||||
|
||||
|
||||
@celery_app.task(name="commit.post_rescue_org_save")
|
||||
def post_rescue_org_save(pk):
|
||||
instance = RescueOrganization.objects.get(pk=pk)
|
||||
Location.add_location_to_object(instance)
|
||||
set_timestamp("add_rescue_org_location")
|
||||
logging.info(f"Location was added to Rescue Organization {pk}")
|
||||
logging.info(f"Location was added to Rescue Organization {pk}")
|
||||
|
Reference in New Issue
Block a user