Skip to content

Commit

Permalink
Handle frontend id format
Browse files Browse the repository at this point in the history
  • Loading branch information
folix-01 committed Jul 1, 2024
1 parent 5ae0e0e commit c225296
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,8 @@ def get_subject(self):
)

for i in self.form_data.get("data", []):
field_id = i.get("field_id")
# Handle `field_name_321323` kind of id used by frontend package
field_id = i.get("field_id", "").split("_")[-1]

if not field_id:
continue
Expand Down

0 comments on commit c225296

Please sign in to comment.