Skip to content

Commit

Permalink
#3213 Reverted a previous field name change as this might affect the …
Browse files Browse the repository at this point in the history
…existing sac records in the DB
  • Loading branch information
sambodeme committed Aug 2, 2024
1 parent 970f93c commit d7a892c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/audit/cross_validation/naming.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class SectionBabelFish(NamedTuple):
SECTION_NAMES = {
"additional_eins": SectionBabelFish(
all_caps="ADDITIONAL_EINS",
camel_case=FORM_SECTIONS.ADDITIONAL_EINS,
camel_case="AdditionalEINs", # We can't use FORM_SECTIONS.ADDITIONAL_EINS here because "AdditionalEINs" is used as a field name in the JSON schema
friendly="Additional EINs",
friendly_title="Additional EINs",
reverse_url_for_file_upload="report_submission:additional-eins",
Expand All @@ -47,7 +47,7 @@ class SectionBabelFish(NamedTuple):
),
"additional_ueis": SectionBabelFish(
all_caps="ADDITIONAL_UEIS",
camel_case=FORM_SECTIONS.ADDITIONAL_UEIS,
camel_case="AdditionalUEIs", # We can't use FORM_SECTIONS.ADDITIONAL_UEIS here because "AdditionalUEIs" is used as a field name in the JSON schema
friendly="Additional UEIs",
friendly_title="Additional UEIs",
reverse_url_for_file_upload="report_submission:additional-ueis",
Expand Down

0 comments on commit d7a892c

Please sign in to comment.