Skip to content

Commit

Permalink
dbex/97956-separation-location-string: temporary - turn separation lo…
Browse files Browse the repository at this point in the history
…cation code into string for saved claim
  • Loading branch information
aurora-a-k-a-lightning committed Nov 26, 2024
1 parent d9ac0a8 commit b745bf7
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ def missing_disabilities?(submission)
# 11/18/2024 BRD EVSS -> Lighthouse migration caused separation location to turn into an integer,
# while SavedClaim (vets-json-schema) is expecting a string
def temp_separation_location_fix
separation_location = form_content['form526']['serviceInformation']['separationLocation']

return nil if separation_location.blank?

separation_location_code =
form_content['form526']['serviceInformation']['separationLocation']['separationLocationCode'].to_s
form_content['form526']['serviceInformation']['separationLocation']['separationLocationCode'] =
Expand Down

0 comments on commit b745bf7

Please sign in to comment.