chore(deps): upgrade packages

This commit is contained in:
MingxuanGame
2025-09-13 16:41:35 +00:00
parent 7d0b2c657d
commit 6382b744c1
5 changed files with 190 additions and 166 deletions

View File

@@ -38,7 +38,7 @@ from sqlmodel.ext.asyncio.session import AsyncSession
)
async def get_all_rooms(
db: Database,
mode: Literal["open", "ended", "participated", "owned", None] = Query(
mode: Literal["open", "ended", "participated", "owned"] | None = Query(
default="open",
description=("房间模式open 当前开放 / ended 已经结束 / participated 参与过 / owned 自己创建的房间"),
),

View File

@@ -142,7 +142,7 @@ class EmailQueue:
continue
# 解包返回结果(列表名和值)
queue_name, email_id = result
_, email_id = result
if isinstance(email_id, bytes):
email_id = email_id.decode("utf-8")

View File

@@ -256,7 +256,7 @@ This email was sent automatically, please do not reply.
# 创建验证记录
(
verification,
_,
code,
) = await EmailVerificationService.create_verification_record(
db, redis, user_id, email, ip_address, user_agent