-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure on_end makes input tz aware and fix on_end method #28
Conversation
coral_credits/api/views.py
Outdated
return self._create_or_update( | ||
request, current_lease_required=True, dry_run=False | ||
request, | ||
is_delete=True, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I should retest without this bit of the change, I think we do send the current lease.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On-end from blazar just sends the lease
parameter I believe, not current_lease
like update does. However we do want to do an update on coral_credits side, so we should handle this
also adds a unit test to test deletion of current reservation |
No description provided.