Skip to content

Commit

Permalink
Remove unnecessary reassignment
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Miller <[email protected]>
  • Loading branch information
jingcheng16 and millerdev authored Jul 30, 2024
1 parent aed2cdb commit 398651e
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ def remove_keys_from_data(apps, schema_editor):
modified = True

if modified:
user_data.data = data
user_data.save()


Expand All @@ -48,7 +47,6 @@ def revert_keys_in_data(apps, schema_editor):
if assigned_location_ids:
data['commcare_location_ids'] = user_location_data(assigned_location_ids)

user_data.data = data
user_data.save()


Expand Down

0 comments on commit 398651e

Please sign in to comment.