Skip to content

Commit

Permalink
Merge pull request #60 from DostEducation/fix/58-ignore-sql-keywords-…
Browse files Browse the repository at this point in the history
…from-custom-fields

Fix/58 Ignore SQL keyword `name` from custom fields
  • Loading branch information
Sachinbisht27 authored Jul 1, 2024
2 parents bc02b53 + 4a4f942 commit b84f67c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/services/user_attribute_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ def handle_contact_fields_data(self, contact_data: dict[str, Any]):
"with special character which can't be processed."
)
continue
elif field_key.lower() == "name":
continue

value = field_value.get("value")
user_attribute = existing_attributes.get(field_key)
Expand Down

0 comments on commit b84f67c

Please sign in to comment.