feat: split bills for one deal

This commit is contained in:
2025-05-09 13:32:30 +04:00
parent 42ce73dd6a
commit be13c77164
12 changed files with 154 additions and 90 deletions

View File

@@ -1,5 +1,6 @@
import aiohttp
from backend.config import BILLING_URL
from .schemas import *
@@ -9,7 +10,7 @@ class BillingClient:
self.headers = {
'Authorization': f'Bearer {self.api_key}'
}
self.base_url = 'https://billing.denco.store'
self.base_url = BILLING_URL
async def _method(self, http_method, method, **kwargs):
async with aiohttp.ClientSession(headers=self.headers) as session: