refac: async webhook request

This commit is contained in:
Timothy Jaeryang Baek
2025-08-15 00:07:02 +04:00
parent daa4b3284f
commit f1c28455ad
5 changed files with 13 additions and 10 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ async def send_notification(name, webui_url, channel, message, active_user_ids):
)
if webhook_url:
post_webhook(
await post_webhook(
name,
webhook_url,
f"#{channel.name} - {webui_url}/channels/{channel.id}\n\n{message.content}",