fix(awooop): type callback reply project filter
This commit is contained in:
@@ -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 "")
|
||||
|
||||
Reference in New Issue
Block a user