From f02679f6093ca22c42ed28df3ec203962e42ea98 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 8 Dec 2017 14:59:21 -0500 Subject: [PATCH] logic error on cipher event log --- src/Core/Services/Implementations/EventService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Services/Implementations/EventService.cs b/src/Core/Services/Implementations/EventService.cs index 360e35967..fde9911b1 100644 --- a/src/Core/Services/Implementations/EventService.cs +++ b/src/Core/Services/Implementations/EventService.cs @@ -57,7 +57,7 @@ namespace Bit.Core.Services public async Task LogCipherEventAsync(Cipher cipher, EventType type) { - if(!cipher.OrganizationId.HasValue || (!_currentContext?.UserId.HasValue ?? true)) + if(!cipher.OrganizationId.HasValue && (!_currentContext?.UserId.HasValue ?? true)) { return; }