Skip to content

Commit 2cacc2e

Browse files
committed
chore: format
1 parent c9a78e5 commit 2cacc2e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

backend/open_webui/routers/channels.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1578,7 +1578,9 @@ async def update_message_by_id(
15781578
if (
15791579
user.role != "admin"
15801580
and message.user_id != user.id
1581-
and not channel_has_access(user.id, channel, permission="write", strict=False, db=db)
1581+
and not channel_has_access(
1582+
user.id, channel, permission="write", strict=False, db=db
1583+
)
15821584
):
15831585
raise HTTPException(
15841586
status_code=status.HTTP_403_FORBIDDEN, detail=ERROR_MESSAGES.DEFAULT()

0 commit comments

Comments
 (0)