fix: wrong api path url

This commit is contained in:
GareArc 2025-01-25 20:31:26 -05:00
parent 478aaeba8e
commit 981e497489

View File

@ -2,7 +2,8 @@ import os
from typing import Literal, Optional from typing import Literal, Optional
import httpx import httpx
from tenacity import retry, retry_if_exception_type, stop_before_delay, wait_fixed from tenacity import (retry, retry_if_exception_type, stop_before_delay,
wait_fixed)
from extensions.ext_database import db from extensions.ext_database import db
from models.account import TenantAccountJoin, TenantAccountRole from models.account import TenantAccountJoin, TenantAccountRole
@ -95,7 +96,7 @@ class BillingService:
@classmethod @classmethod
def list_compliance_files(cls, tenant_id: str, account_id: str): def list_compliance_files(cls, tenant_id: str, account_id: str):
params = {"account_id": account_id, "tenant_id": tenant_id} params = {"account_id": account_id, "tenant_id": tenant_id}
return cls._send_request("GET", "/compliances/list", params=params) return cls._send_request("GET", "/compliance/list", params=params)
@classmethod @classmethod
def get_compliance_download_link( def get_compliance_download_link(