chore: format

This commit is contained in:
Timothy Jaeryang Baek
2026-03-01 13:34:09 -06:00
parent c9a78e5476
commit 2cacc2e649
+3 -1
View File
@@ -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()