Update db_calls.py
Add payload to patch calls
This commit is contained in:
parent
e927e5a7a4
commit
82e3171f9b
@ -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}')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user