Skip to content

Commit

Permalink
dbex/97956-separation-location-string: separation location code to st…
Browse files Browse the repository at this point in the history
…ring (#19646)
  • Loading branch information
aurora-a-k-a-lightning authored Nov 29, 2024
1 parent 7fd8c12 commit b40aa20
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ def missing_disabilities?(submission)
# while SavedClaim (vets-json-schema) is expecting a string
def temp_separation_location_fix
if form_content.is_a?(Hash) && form_content['form526'].is_a?(Hash)
separation_location_code = form_content.dig('form526', 'serviceInformation', 'separationLocation')
separation_location_code = form_content.dig('form526', 'serviceInformation', 'separationLocation',
'separationLocationCode')
unless separation_location_code.nil?
form_content['form526']['serviceInformation']['separationLocation']['separationLocationCode'] =
separation_location_code.to_s
Expand Down

0 comments on commit b40aa20

Please sign in to comment.