From f96c9c2aeaaa82ec3eac6837a0e4f02d97a6ba2f Mon Sep 17 00:00:00 2001 From: dettlaff Date: Sat, 15 Jun 2024 22:28:10 +0400 Subject: [PATCH] fix: delete bad code --- selfprivacy_api/utils/prometheus.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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(): ...