mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
Fix: Spurious EF error on CallbackGenerator
This commit is contained in:
@@ -74,7 +74,7 @@ public partial class UIStoresController
|
||||
(await _userManager.CreateAsync(user)) is { Succeeded: true })
|
||||
{
|
||||
var invitationEmail = await _emailSenderFactory.IsComplete();
|
||||
var evt = await UserEvent.Invited.Create(user!, currentUser, _callbackGenerator, Request, invitationEmail);
|
||||
var evt = await UserEvent.Invited.Create(user!, currentUser, _callbackGenerator, invitationEmail);
|
||||
_eventAggregator.Publish(evt);
|
||||
inviteInfo = invitationEmail
|
||||
? StringLocalizer["An invitation email has been sent.<br/>You may alternatively share this link with them: <a class='alert-link' href='{0}'>{0}</a>", evt.InvitationLink]
|
||||
|
||||
Reference in New Issue
Block a user