Skip to content

Commit

Permalink
claim model update
Browse files Browse the repository at this point in the history
  • Loading branch information
aherzberg committed Apr 23, 2024
1 parent b668ac6 commit 36f10a5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def partial_errors(failures)
Rails.logger.info('Mobile Appointment Partial Error', errors: failures)

{
errors: failures
errors: [{ source: 'VA Service' }]
}
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,7 @@ data:
friendly_location_name: null
locationId: '938'
meta:
errors: [
{ appointmentErrors: [{system: "the system", id: "id-string", status: "status-string", code: 0, traceId: "traceId-string", message: "msg-string", detail: "detail-string"}]},
{ missingFacilities: [934, 302, 201]},
{ missingClinics: [934, 302, 201]},
{ missingProviders: [934, 302, 201]},
]
errors: [{source: "VA Service"}]
checkinWindow:
minutesBefore: 45
minutesAfter: 15
Expand Down
2 changes: 1 addition & 1 deletion modules/mobile/docs/index.html

Large diffs are not rendered by default.

29 changes: 1 addition & 28 deletions modules/mobile/spec/support/schemas/VAOS_v2_appointments.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,34 +235,7 @@
],
"properties": {
"errors": {
"type": "array",
"properties": {
"appointmentErrors": {
"type": "array",
"items": {
"type": "object"
}
},
"missingFacilities": {
"type": "array",
"items": {
"type": "integer"
}
},
"missingClinics": {
"type": "array",
"items": {
"type": "integer"
}
},
"missingProviders": {
"type": "array",
"items": {
"type": "integer"
}
}
}

"type": "null"
},
"pagination": {
"type": "object",
Expand Down

0 comments on commit 36f10a5

Please sign in to comment.