feat: split bills for one deal
This commit is contained in:
3
external/billing/billing_client.py
vendored
3
external/billing/billing_client.py
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user