Skip to content

Commit

Permalink
apply black formatter changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rajghodasara1 committed Dec 10, 2023
1 parent 8904781 commit 8e299a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions furbaby/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ def update(self, instance, validated_data):
instance.zipcode = validated_data.get("zipcode", instance.zipcode)
if validated_data.get("default_location"):
Locations.objects.filter(user=instance.user).update(default_location=False)
instance.default_location = True;
instance.default_location = True
if not validated_data.get("default_location"):
instance.default_location = False;
instance.default_location = False
instance.save()
return instance

Expand Down

0 comments on commit 8e299a3

Please sign in to comment.