Skip to content

Commit 731bb77

Browse files
authored
Update __init__.py (#5)
Fixes /issues/4
1 parent 999a9a0 commit 731bb77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netdata/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ async def get_alarms(self):
6363
response = await self._session.get(url)
6464

6565
_LOGGER.debug("Response from Netdata: %s", response.status)
66-
data = await response.text()
66+
data = await response.json()
6767
_LOGGER.debug(data)
6868
self.alarms = data
6969

0 commit comments

Comments
 (0)