diff --git a/selfprivacy_api/utils/prometheus.py b/selfprivacy_api/utils/prometheus.py index c0b0575..ba87d97 100644 --- a/selfprivacy_api/utils/prometheus.py +++ b/selfprivacy_api/utils/prometheus.py @@ -41,9 +41,7 @@ class PrometheusQueries: params = {"query": query, "start": start, "end": end, "step": 60} - return PrometheusClient._send_request( - endpoint="/api/v1/query_range", params=params - ) + return self._send_request(params=params) @staticmethod def disks_usage(): ...