Removed the extra ";//" from the Log Manager

{alias.Protocol} return with ";//"
This commit is contained in:
Leigh Pointer 2024-08-03 12:26:33 +02:00
parent 51ed0f6487
commit 266495a611

View File

@ -210,7 +210,7 @@ namespace Oqtane.Infrastructure
if (alias != null)
{
subject = $"{alias.Name} Site {log.Level} Notification";
body = $"Log Message: {log.Message}<br /><br />Please visit {alias.Protocol}://{alias.Name}/admin/log?id={log.LogId} for more information";
body = $"Log Message: {log.Message}<br /><br />Please visit {alias.Protocol}{alias.Name}/admin/log?id={log.LogId} for more information";
}
foreach (var userrole in _userRoles.GetUserRoles(RoleNames.Host, log.SiteId.Value))