Skip to content
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

Bugfix - Budget flights could not be deleted due to wrong url format #211

Merged
merged 1 commit into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion terminalone/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
__author__ = 'MediaMath'
__copyright__ = 'Copyright 2015, MediaMath'
__license__ = 'Apache License, Version 2.0'
__version__ = '1.9.19'
__version__ = '1.9.20'
__maintainer__ = 'MediaMath Developer Relations'
__email__ = '[email protected]'
__status__ = 'Stable'
Expand Down
2 changes: 1 addition & 1 deletion terminalone/models/budgetflight.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def _construct_url(self, addl=None):

def remove(self):
"""Remove a flight."""
url = self._construct_url('delete')
url = self._construct_url(addl=['delete'])
self._post(self._get_service_path(), rest=url, data={'version': self.version})
for item in list(self._properties.keys()):
del self._properties[item]
Expand Down