mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-03 17:36:59 +01:00
Merge pull request #754 from Kukks/fix-pos-notif
fix pos settings savings for notifications
This commit is contained in:
commit
c79751829b
2 changed files with 5 additions and 1 deletions
|
@ -178,7 +178,10 @@ namespace BTCPayServer.Controllers
|
||||||
CustomButtonText = vm.CustomButtonText,
|
CustomButtonText = vm.CustomButtonText,
|
||||||
CustomTipText = vm.CustomTipText,
|
CustomTipText = vm.CustomTipText,
|
||||||
CustomTipPercentages = ListSplit(vm.CustomTipPercentages),
|
CustomTipPercentages = ListSplit(vm.CustomTipPercentages),
|
||||||
CustomCSSLink = vm.CustomCSSLink
|
CustomCSSLink = vm.CustomCSSLink,
|
||||||
|
NotificationUrl = vm.NotificationUrl,
|
||||||
|
NotificationEmail = vm.NotificationEmail
|
||||||
|
|
||||||
});
|
});
|
||||||
await UpdateAppSettings(app);
|
await UpdateAppSettings(app);
|
||||||
StatusMessage = "App updated";
|
StatusMessage = "App updated";
|
||||||
|
|
|
@ -269,6 +269,7 @@ namespace BTCPayServer.Controllers
|
||||||
NotificationEmail = settings.NotificationEmail,
|
NotificationEmail = settings.NotificationEmail,
|
||||||
RedirectURL = redirectUrl ?? Request.GetDisplayUrl(),
|
RedirectURL = redirectUrl ?? Request.GetDisplayUrl(),
|
||||||
FullNotifications = true,
|
FullNotifications = true,
|
||||||
|
ExtendedNotifications = true,
|
||||||
PosData = string.IsNullOrEmpty(posData) ? null : posData
|
PosData = string.IsNullOrEmpty(posData) ? null : posData
|
||||||
}, store, HttpContext.Request.GetAbsoluteRoot(),
|
}, store, HttpContext.Request.GetAbsoluteRoot(),
|
||||||
new List<string>() {AppService.GetAppInternalTag(appId)},
|
new List<string>() {AppService.GetAppInternalTag(appId)},
|
||||||
|
|
Loading…
Add table
Reference in a new issue