From 93ccfa7eac1da879c6c08171e201049e0d9d6e52 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 14 Dec 2017 16:41:52 -0500 Subject: [PATCH] set acting user for user events --- src/Core/Services/Implementations/EventService.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Core/Services/Implementations/EventService.cs b/src/Core/Services/Implementations/EventService.cs index 033401211..547a3f2f6 100644 --- a/src/Core/Services/Implementations/EventService.cs +++ b/src/Core/Services/Implementations/EventService.cs @@ -36,6 +36,7 @@ namespace Bit.Core.Services new EventMessage { UserId = userId, + ActingUserId = userId, Type = type, Date = now } @@ -48,6 +49,7 @@ namespace Bit.Core.Services { OrganizationId = o.Id, UserId = userId, + ActingUserId = userId, Type = type, Date = DateTime.UtcNow }); @@ -60,6 +62,7 @@ namespace Bit.Core.Services { OrganizationId = o.OrganizationId, UserId = userId, + ActingUserId = userId, Type = type, Date = DateTime.UtcNow });