From 6b49d9bc7108a0b663ca05de19dbf4841c9c43c1 Mon Sep 17 00:00:00 2001 From: tidusjar Date: Sat, 30 Mar 2024 08:23:27 +0000 Subject: [PATCH] fix: fixed emails not being able to load the template --- src/Ombi.Notifications.Templates/NewsletterTemplate.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Ombi.Notifications.Templates/NewsletterTemplate.cs b/src/Ombi.Notifications.Templates/NewsletterTemplate.cs index d83197d24..3ede68e5e 100644 --- a/src/Ombi.Notifications.Templates/NewsletterTemplate.cs +++ b/src/Ombi.Notifications.Templates/NewsletterTemplate.cs @@ -13,11 +13,9 @@ namespace Ombi.Notifications.Templates { 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; }