Skip to content

Commit

Permalink
fix: Remove soil interval creation for site transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
David Code Howard committed Jan 25, 2024
1 parent 16e4963 commit 59afb5d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions terraso_backend/apps/graphql/schema/sites.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 59afb5d

Please sign in to comment.