Skip to content

Commit

Permalink
Change 'url' to 'path'
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin5605 committed Mar 2, 2024
1 parent d14fb47 commit 0e0ee4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dragonfly_reporter/observations.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
async def send_observation(
project_name: str, observation: Observation, *, http_client: httpx.AsyncClient
):
url = f"/danger-api/projects/{project_name}/observations"
path = f"/danger-api/projects/{project_name}/observations"
json = jsonable_encoder(observation)

await http_client.post(url, json=json)
await http_client.post(path, json=json)

0 comments on commit 0e0ee4f

Please sign in to comment.