Skip to content

Commit

Permalink
fix: remove / from delete query that was always returning 404
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Latour committed Dec 5, 2024
1 parent 140b19d commit 84d0014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tomtom_api/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ def delete_job(self, job: Union[SubmittedTomtomJob, List[SubmittedTomtomJob]]):

job_id = job if isinstance(job, int) else job.job_id

url = f"https://{self.base_url}/traffic/trafficstats/reports/{job_id}/?key={self.key}"
url = f"https://{self.base_url}/traffic/trafficstats/reports/{job_id}?key={self.key}"

response = self.request("delete", url)

Expand Down

0 comments on commit 84d0014

Please sign in to comment.