mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
refac
This commit is contained in:
parent
d701b69e05
commit
34cc472c48
1 changed files with 2 additions and 2 deletions
|
|
@ -198,12 +198,12 @@ async def send_notification(channel, message, active_user_ids):
|
|||
if webhook_url:
|
||||
post_webhook(
|
||||
webhook_url,
|
||||
f"#{channel.name} - {WEBUI_URL}/c/{channel.id}\n\n{message.content}",
|
||||
f"#{channel.name} - {WEBUI_URL}/channels/{channel.id}\n\n{message.content}",
|
||||
{
|
||||
"action": "channel",
|
||||
"message": message.content,
|
||||
"title": channel.name,
|
||||
"url": f"{WEBUI_URL}/c/{channel.id}",
|
||||
"url": f"{WEBUI_URL}/channels/{channel.id}",
|
||||
},
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue