mirror of
https://github.com/bitwarden/server.git
synced 2025-05-28 14:54:50 -05:00
add bitwarden server category
This commit is contained in:
parent
130197cab6
commit
c3563db4d2
@ -57,11 +57,12 @@ namespace Bit.Core.Services
|
||||
sendGridMessage.AddSubstitutions(subs);
|
||||
}
|
||||
|
||||
var cats = new List<string> { "Bitwarden Server" };
|
||||
if(message.MetaData?.ContainsKey("SendGridCategories") ?? false)
|
||||
{
|
||||
var cats = message.MetaData["SendGridCategories"] as List<string>;
|
||||
sendGridMessage.AddCategories(cats);
|
||||
cats.AddRange(message.MetaData["SendGridCategories"] as List<string>);
|
||||
}
|
||||
sendGridMessage.AddCategories(cats);
|
||||
|
||||
if(message.MetaData?.ContainsKey("SendGridBypassListManagement") ?? false)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user