From 34cc472c48dd9a554d47bec499b4eecbe309ea63 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 25 Dec 2024 00:53:50 -0700 Subject: [PATCH] refac --- backend/open_webui/routers/channels.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/open_webui/routers/channels.py b/backend/open_webui/routers/channels.py index 32c348ce3..6a328d3ef 100644 --- a/backend/open_webui/routers/channels.py +++ b/backend/open_webui/routers/channels.py @@ -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}", }, )