mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
Abri amend_job treats an unconfirmed amendment response as retriable 🟩
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
65ec38012b
commit
096e4ae1f7
1 changed files with 5 additions and 0 deletions
|
|
@ -133,6 +133,11 @@ class AbriClient:
|
|||
"AmendOptiAppt element missing from relay response"
|
||||
)
|
||||
|
||||
if amended.get("success") != "Y":
|
||||
raise AbriResponseParseError(
|
||||
"AmendOptiAppt element did not confirm success"
|
||||
)
|
||||
|
||||
job_no = amended.get("job_no")
|
||||
appointment_date = amended.get("appointment_date")
|
||||
appointment_time = amended.get("appointment_time")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue