From 7602dc3e0fe51192688461f08853ba77397e4f93 Mon Sep 17 00:00:00 2001 From: s3inlc Date: Fri, 4 Sep 2026 08:53:43 +0200 Subject: [PATCH] move helper result data to meta instead of data --- hashtopolis/hashtopolis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hashtopolis/hashtopolis.py b/hashtopolis/hashtopolis.py index ff1a14f..cf93a9d 100644 --- a/hashtopolis/hashtopolis.py +++ b/hashtopolis/hashtopolis.py @@ -1101,14 +1101,14 @@ def get_cracks_per_day(self): uri = self._api_endpoint + self._model_uri + 'getCracksPerDay' r = requests.get(uri, headers=self._headers) self.validate_status_code(r, [200], "getCracksPerDay failed") - return r.json()['data'] + return r.json()['meta'] def get_completed_count(self): self.authenticate() uri = self._api_endpoint + self._model_uri + 'getCompletedCount' r = requests.get(uri, headers=self._headers) self.validate_status_code(r, [200], "getCompletedCount failed") - return r.json()['data'] + return r.json()['meta'] def get_global_config(self): self.authenticate()