Skip to content

Commit

Permalink
take away ['result']
Browse files Browse the repository at this point in the history
  • Loading branch information
Henri Wahl committed Mar 27, 2024
1 parent ad0395b commit 1d2ceaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Nagstamon/Servers/ZabbixProblemBased.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def do_request(self, method, params={}, no_auth=False):

def api_version(self, **options):
obj = self.do_request('apiinfo.version', options, no_auth=True)
return obj['result']
return obj

def logged_in(self):
if self.zbx_auth is None:
Expand Down

0 comments on commit 1d2ceaf

Please sign in to comment.