From 59afb5db3bc2240d3e5d361345708ff0c058794c Mon Sep 17 00:00:00 2001 From: David Code Howard Date: Thu, 25 Jan 2024 11:39:48 -0500 Subject: [PATCH] fix: Remove soil interval creation for site transfer --- terraso_backend/apps/graphql/schema/sites.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/terraso_backend/apps/graphql/schema/sites.py b/terraso_backend/apps/graphql/schema/sites.py index fe5290ba0..91acbd072 100644 --- a/terraso_backend/apps/graphql/schema/sites.py +++ b/terraso_backend/apps/graphql/schema/sites.py @@ -312,9 +312,6 @@ def mutate_and_get_payload(cls, root, info, **kwargs): old_projects.append(site.project) Site.bulk_change_project(to_change, project) - # update site depth intervals where necessary - if hasattr(project, "soil_settings"): - project.soil_settings.convert_site_intervals_to_preset(sites=to_change) log.log( user=user,