Update db_calls.py

Add payload to patch calls
This commit is contained in:
Cal Corum 2023-11-20 00:58:34 -06:00
parent e927e5a7a4
commit 82e3171f9b

View File

@ -70,7 +70,7 @@ async def db_patch(
logging.info(log_string) if master_debug else logging.debug(log_string)
async with aiohttp.ClientSession(headers=AUTH_TOKEN) as session:
async with session.patch(req_url) as r:
async with session.patch(req_url, json=payload) as r:
if r.status == 200:
js = await r.json()
log_return_value(f'{js}')