Skip to content

Conversation

jawwadmukhtargmail
Copy link
Contributor

No description provided.

mike-f50 and others added 30 commits December 17, 2020 15:57
Changing CommunicationJobTypes.TaskDetail from 10 to 12
add admin request url to simplified task update email
}
catch (UnknownTemplateException)
{
templateId = CreateNewTemplate(template);
Copy link
Contributor

@mike-f50 mike-f50 Aug 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fairly unlikely to happen, but do we have a problem if two hosts run CreateNewTemplate at the same time?

string plain_content = Regex.Replace(GetEmailHtml(template.name), @"<[^>]*>", String.Empty);
plain_content = GetEmailText("Layout").Replace("{{Body}}", plain_content);

success = CreateNewTemplateVersion(new NewTemplateVersion()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If templates.templates contains more than one item, success will only show the result from the last item.

catch (Exception exc)
{
foreach (UnsubscribeGroup unsubscribeGroups in templates.deleteUnsubscribeGroups)
ExpandoObject o = new ExpandoObject();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy with this for now, but in due course we probably want to log this to Azure Log Analytics rather than Cosmos.

@mike-f50
Copy link
Contributor

RefreshBehaviour.WaitForFreshData changes look good.

Jawwad Mukhtar and others added 11 commits August 24, 2021 16:30
Bumps [RestSharp](https://github.com/restsharp/RestSharp) from 106.11.4 to 106.12.0.
- [Release notes](https://github.com/restsharp/RestSharp/releases)
- [Changelog](https://github.com/restsharp/RestSharp/blob/dev/releasenotes.md)
- [Commits](restsharp/RestSharp@106.11.4...106.12)

---
updated-dependencies:
- dependency-name: RestSharp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
…ionService/CommunicationService.Core/RestSharp-106.12.0

Bump RestSharp from 106.11.4 to 106.12.0 in /CommunicationService/CommunicationService.Core
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants