fix(awooop): type callback reply project filter
All checks were successful
Code Review / ai-code-review (push) Successful in 10s
CD Pipeline / tests (push) Successful in 1m7s
CD Pipeline / build-and-deploy (push) Successful in 3m28s
CD Pipeline / post-deploy-checks (push) Successful in 1m37s

This commit is contained in:
Your Name
2026-05-18 16:25:27 +08:00
parent 31f778d60b
commit 28c2b365b3

View File

@@ -277,13 +277,14 @@ async def list_callback_replies(
where_clauses = [
"m.source_envelope ? 'callback_reply'",
"(:project_id IS NULL OR m.project_id = :project_id)",
]
params: dict[str, Any] = {
"project_id": project_id,
"limit": per_page,
"offset": (page - 1) * per_page,
}
if project_id:
where_clauses.append("m.project_id = :project_id")
params["project_id"] = project_id
raw_status = _CALLBACK_REPLY_RAW_STATUS_BY_FILTER.get(
str(callback_reply_status or "")