fix: [VAN-1038] city field value is saved for optional fields. (#30897)
This commit is contained in:
@@ -289,7 +289,7 @@ class AccountLegacyProfileSerializer(serializers.HyperlinkedModelSerializer, Rea
|
||||
fields = (
|
||||
"name", "gender", "goals", "year_of_birth", "level_of_education", "country", "state", "social_links",
|
||||
"mailing_address", "bio", "profile_image", "requires_parental_consent", "language_proficiencies",
|
||||
"phone_number"
|
||||
"phone_number", "city"
|
||||
)
|
||||
# Currently no read-only field, but keep this so view code doesn't need to know.
|
||||
read_only_fields = ()
|
||||
|
||||
Reference in New Issue
Block a user