Skip to content

Commit

Permalink
API-27326 Fixing my overwrites (#13015)
Browse files Browse the repository at this point in the history
* Fixes the overwrite in `disability_compensation_validation.rb` on line 419
* Fixes my overwrite in 526.json line 539
* Recompiles swagger
Changes to be committed:
	modified:   modules/claims_api/app/controllers/concerns/claims_api/v2/disability_compensation_validation.rb
	modified:   modules/claims_api/app/swagger/claims_api/v2/dev/swagger.json
	modified:   modules/claims_api/config/schemas/v2/526.json
  • Loading branch information
rockwellwindsor-va authored Jun 15, 2023
1 parent bfa091e commit 1e04dad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def collect_primary_secondary_disability_names(disabilities)
names = []
disabilities.each do |disability|
names << disability['name'].strip.downcase
disability['secondaryDisabilities'].each do |secondary|
disability['secondaryDisabilities']&.each do |secondary|
names << secondary['name'].strip.downcase
end
end
Expand Down
4 changes: 2 additions & 2 deletions modules/claims_api/app/swagger/claims_api/v2/dev/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -4633,8 +4633,8 @@
"id": "1",
"type": "intent_to_file",
"attributes": {
"creationDate": "2023-06-13",
"expirationDate": "2024-06-13",
"creationDate": "2023-06-15",
"expirationDate": "2024-06-15",
"type": "compensation",
"status": "active"
}
Expand Down
1 change: 0 additions & 1 deletion modules/claims_api/config/schemas/v2/526.json
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,6 @@
"enum": [
"NONE",
"NEW",
"SECONDARY",
"REOPEN",
"INCREASE"
],
Expand Down

0 comments on commit 1e04dad

Please sign in to comment.