Skip to content

Commit

Permalink
Bugfix - Budget flights could not be deleted due to wrong url format
Browse files Browse the repository at this point in the history
  • Loading branch information
kostou committed Mar 13, 2024
1 parent 0140a32 commit 5bd68bc
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 5bd68bc

Please sign in to comment.