fix api endpoint missing

This commit is contained in:
HgO 2022-07-08 23:23:38 +02:00
parent c9b1dfde13
commit 8f17546d5c

View file

@ -32,7 +32,7 @@ class AlertmanagerClient:
async def get_alerts(self) -> List[Dict]:
try:
async with self.session.get(f"{self.api_url}") as response:
async with self.session.get(f"{self.api_url}/alerts") as response:
response.raise_for_status()
return await response.json()
except ClientError as e: