Fix B3: rename note= to comment= in DocumentReviewEvent instantiation

This commit is contained in:
Atharv1705
2026-10-01 11:20:39 +05:30
parent 1a2618cb5e
commit f199ecdec6
+2 -2
View File
@@ -160,7 +160,7 @@ async def admin_doc_response(
actor_role="user",
action=payload.status,
to_status=payload.status,
note=payload.reason,
comment=payload.reason,
tax_year=doc.tax_year
)
db.add(event)
@@ -267,7 +267,7 @@ def update_document_status(
actor_role="admin",
action="status_updated",
to_status=payload.status,
note=payload.note,
comment=payload.note,
tax_year=doc.tax_year
)
db.add(event)