chore: format

This commit is contained in:
Timothy Jaeryang Baek committed 2026-02-11 16:24:11 -06:00
1 parent 89fddcc741
commit f376d4f378
202 files changed
+8328 -2046

No files matched your search

+1 -3
View File
@@ -1633,9 +1633,7 @@ 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="read", db=db
)
and not channel_has_access(user.id, channel, permission="read", db=db)
):
raise HTTPException(
status_code=status.HTTP_403_FORBIDDEN, detail=ERROR_MESSAGES.DEFAULT()