Skip to content

Commit

Permalink
Merge pull request #211 from MediaMath/bugfix-budgedflightsdelete
Browse files Browse the repository at this point in the history
Bugfix - Budget flights could not be deleted due to wrong url format
  • Loading branch information
ElliotReeve authored Mar 13, 2024
2 parents 0140a32 + 5bd68bc commit 4ea1834
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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__ = 'developers@mediamath.com'
__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

0 comments on commit 4ea1834

Please sign in to comment.