Fix sending references and bank details

This commit is contained in:
2023-03-10 14:51:34 +00:00
parent 0148525c8b
commit c95d9d7557
8 changed files with 225 additions and 74 deletions

View File

@@ -23,8 +23,7 @@ async def raw_sendmsg(msg, title=None, priority=None, tags=None, url=None, topic
"data": msg,
}
async with aiohttp.ClientSession() as session:
async with session.post(f"{url}/{topic}", **cast) as response:
response = await response.content()
await session.post(f"{url}/{topic}", **cast)
# Sendmsg helper to send a message to a user's notification settings