fix(models): restore check_in/check_out on AvailabilityQuery #20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/availability-query-fields"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
v0.4.0 shipped with AvailabilityQuery missing its check_in/check_out fields: my merge of public_booking_dict landed inside the class and left the two lines orphaned after the helper's return. POST /api/v1/availability raised on q.check_in, a 500 on every install of that version. The RPC door reads the raw body and was unaffected, which is why nothing noticed; the live test ran against an uncommitted tree that was correct.
Fix restores the fields and adds a test that constructs the model and drives the endpoint. To be released as v0.4.1 straight away.