From 2cacc2e6492c06b24201cf106c250d398209e91e Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sun, 1 Mar 2026 13:34:09 -0600 Subject: [PATCH] chore: format --- backend/open_webui/routers/channels.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/open_webui/routers/channels.py b/backend/open_webui/routers/channels.py index 8a7c8d735..55a6e6ebb 100644 --- a/backend/open_webui/routers/channels.py +++ b/backend/open_webui/routers/channels.py @@ -1578,7 +1578,9 @@ async def update_message_by_id( if ( user.role != "admin" and message.user_id != user.id - and not channel_has_access(user.id, channel, permission="write", strict=False, db=db) + and not channel_has_access( + user.id, channel, permission="write", strict=False, db=db + ) ): raise HTTPException( status_code=status.HTTP_403_FORBIDDEN, detail=ERROR_MESSAGES.DEFAULT()