Fix email sending on registration crash (#1454)

This commit is contained in:
Andrew Camilleri
2020-04-10 08:59:39 +02:00
committed by GitHub
parent 841cf61c92
commit d47e225dce
6 changed files with 12 additions and 12 deletions

View File

@@ -463,7 +463,7 @@ namespace BTCPayServer.Controllers
_eventAggregator.Publish(new UserRegisteredEvent()
{
Request = Request,
RequestUri = Request.GetAbsoluteRootUri(),
User = user,
Admin = RegisteredAdmin
});