Fix B3: rename note= to comment= in DocumentReviewEvent instantiation
This commit is contained in:
@@ -160,7 +160,7 @@ async def admin_doc_response(
|
|||||||
actor_role="user",
|
actor_role="user",
|
||||||
action=payload.status,
|
action=payload.status,
|
||||||
to_status=payload.status,
|
to_status=payload.status,
|
||||||
note=payload.reason,
|
comment=payload.reason,
|
||||||
tax_year=doc.tax_year
|
tax_year=doc.tax_year
|
||||||
)
|
)
|
||||||
db.add(event)
|
db.add(event)
|
||||||
@@ -267,7 +267,7 @@ def update_document_status(
|
|||||||
actor_role="admin",
|
actor_role="admin",
|
||||||
action="status_updated",
|
action="status_updated",
|
||||||
to_status=payload.status,
|
to_status=payload.status,
|
||||||
note=payload.note,
|
comment=payload.note,
|
||||||
tax_year=doc.tax_year
|
tax_year=doc.tax_year
|
||||||
)
|
)
|
||||||
db.add(event)
|
db.add(event)
|
||||||
|
|||||||
Reference in New Issue
Block a user