No need to include user_id in audit event log
This commit is contained in:
@@ -28,7 +28,6 @@ class AuditEvent(Base, TimestampsMixin):
|
|||||||
@property
|
@property
|
||||||
def log(self):
|
def log(self):
|
||||||
return {
|
return {
|
||||||
"user_id": str(self.id),
|
|
||||||
"portfolio_id": str(self.portfolio_id),
|
"portfolio_id": str(self.portfolio_id),
|
||||||
"changed_state": self.changed_state,
|
"changed_state": self.changed_state,
|
||||||
"event_details": self.event_details,
|
"event_details": self.event_details,
|
||||||
|
|||||||
Reference in New Issue
Block a user