chore: the schedule period has been changed from a week to a month

This commit is contained in:
Данил 2025-01-09 13:26:57 +03:00
parent 6a2291c6bf
commit 7ed98e5b88

View file

@ -7,7 +7,7 @@ config = yaml.safe_load(open('config.yaml'))
async def create_chart(from_currency: str, conv_currency: str) -> (dict, None):
async with aiohttp.ClientSession(timeout=aiohttp.ClientTimeout(total=3)) as session:
async with session.get(f'{config["kekkai_instance"]}/api/getChart/week/', params={
async with session.get(f'{config["kekkai_instance"]}/api/getChart/month/', params={
'from_currency': from_currency,
'conv_currency': conv_currency
}) as res: