diff --git a/libreforms_fastapi/app/__init__.py b/libreforms_fastapi/app/__init__.py index 2aec9c3..0337734 100644 --- a/libreforms_fastapi/app/__init__.py +++ b/libreforms_fastapi/app/__init__.py @@ -1188,6 +1188,7 @@ def run_event_hooks( data = {} metadata = { doc_db.created_by_field: user.username, # Set the creator as the current user + doc_db.last_editor_field: user.username, # Set the last editor as the current user } for field_name, field_config in values.items():