diff --git a/src/Billing/Controllers/FreshdeskController.cs b/src/Billing/Controllers/FreshdeskController.cs index b90fa4055..8b41ba1eb 100644 --- a/src/Billing/Controllers/FreshdeskController.cs +++ b/src/Billing/Controllers/FreshdeskController.cs @@ -87,8 +87,8 @@ namespace Bit.Billing.Controllers var user = await _userRepository.GetByEmailAsync(ticketContactEmail); if(user != null) { - note += $"User: {_globalSettings.BaseServiceUri.Admin}/users/edit/{user.Id}"; - var tags = new List(); + note += $"
  • User: {_globalSettings.BaseServiceUri.Admin}/users/edit/{user.Id}
  • "; + var tags = new HashSet(); if(user.Premium) { tags.Add("Premium"); @@ -96,20 +96,14 @@ namespace Bit.Billing.Controllers var orgs = await _organizationRepository.GetManyByUserIdAsync(user.Id); foreach(var org in orgs) { - note += $"\n\nOrg, {org.Name}: " + - $"{_globalSettings.BaseServiceUri.Admin}/organizations/edit/{org.Id}"; + note += $"
  • Org, {org.Name}: " + + $"{_globalSettings.BaseServiceUri.Admin}/organizations/edit/{org.Id}
  • "; var planName = GetAttribute(org.PlanType).Name.Split(" ").FirstOrDefault(); if(!string.IsNullOrWhiteSpace(planName)) { tags.Add(string.Format("Org: {0}", planName)); } } - var hasPaidOrg = orgs.Any(o => o.PlanType != Core.Enums.PlanType.Free && - o.PlanType != Core.Enums.PlanType.Custom); - if(user.Premium || hasPaidOrg) - { - updateBody.Add("priority", 3); - } if(tags.Any()) { updateBody.Add("tags", tags); @@ -123,7 +117,7 @@ namespace Bit.Billing.Controllers var noteBody = new Dictionary { - { "body", note }, + { "body", $"
      {note}
    " }, { "private", true } }; var noteRequest = new HttpRequestMessage(HttpMethod.Post,