Merge pull request #4480 from leigh-pointer/Log2xHttp

Removed the extra "://" from the Log Manager
This commit is contained in:
Shaun Walker 2024-08-05 07:50:06 -04:00 committed by GitHub
commit 5f7b60d3f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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))