mirror of
https://github.com/Redume/Shirino.git
synced 2025-02-04 17:58:58 +03:00
chore: the schedule period has been changed from a week to a month
This commit is contained in:
parent
6a2291c6bf
commit
7ed98e5b88
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ config = yaml.safe_load(open('config.yaml'))
|
||||||
|
|
||||||
async def create_chart(from_currency: str, conv_currency: str) -> (dict, None):
|
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 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,
|
'from_currency': from_currency,
|
||||||
'conv_currency': conv_currency
|
'conv_currency': conv_currency
|
||||||
}) as res:
|
}) as res:
|
||||||
|
|
Loading…
Add table
Reference in a new issue