Skip to content

Commit

Permalink
fix: fixed emails not being able to load the template
Browse files Browse the repository at this point in the history
  • Loading branch information
tidusjar committed Mar 30, 2024
1 parent ee3bf10 commit 6b49d9b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Ombi.Notifications.Templates/NewsletterTemplate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ public override string TemplateLocation
{
if (string.IsNullOrEmpty(_templateLocation))
{
#if DEBUG
_templateLocation = Path.Combine(Directory.GetCurrentDirectory(), "bin", "Debug", "net6.0", "Templates", "NewsletterTemplate.html");
#else
//_templateLocation = Path.Combine(Directory.GetCurrentDirectory(), "bin", "Debug", "net6.0", "Templates", "NewsletterTemplate.html");
_templateLocation = Path.Combine(Directory.GetCurrentDirectory(), "Templates", "NewsletterTemplate.html");
#endif

}
return _templateLocation;
}
Expand Down

0 comments on commit 6b49d9b

Please sign in to comment.