From b7ac04955adfb803b3b507f0f365668c5106aeb4 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 12 Apr 2017 11:01:56 -0400 Subject: [PATCH] dont throw exceptions on noopmailservice --- src/Core/Services/Implementations/NoopMailService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core/Services/Implementations/NoopMailService.cs b/src/Core/Services/Implementations/NoopMailService.cs index cd553a7245..759d43252e 100644 --- a/src/Core/Services/Implementations/NoopMailService.cs +++ b/src/Core/Services/Implementations/NoopMailService.cs @@ -29,12 +29,12 @@ namespace Bit.Core.Services public Task SendOrganizationAcceptedEmailAsync(string organizationName, string userEmail, IEnumerable adminEmails) { - throw new NotImplementedException(); + return Task.FromResult(0); } public Task SendOrganizationConfirmedEmailAsync(string organizationName, string email) { - throw new NotImplementedException(); + return Task.FromResult(0); } public Task SendOrganizationInviteEmailAsync(string organizationName, OrganizationUser orgUser, string token)