mirror of
https://github.com/aljazceru/BTCPayServerPlugins.git
synced 2025-12-17 07:34:24 +01:00
upd dyn report for 13
This commit is contained in:
@@ -34,14 +34,6 @@ public class DynamicReportsController : Controller
|
||||
_scopeProvider = scopeProvider;
|
||||
}
|
||||
|
||||
[HttpGet("toggle-legacy")]
|
||||
public async Task<IActionResult> ToggleLegacy()
|
||||
{
|
||||
var result = await _dynamicReportService.ToggleLegacy();
|
||||
TempData[WellKnownTempData.SuccessMessage] = $"Legacy report {(result? "enabled" : "disabled")}";
|
||||
return RedirectToAction(nameof(Update));
|
||||
}
|
||||
|
||||
[HttpGet("update")]
|
||||
[Authorize(Policy = Policies.CanModifyServerSettings, AuthenticationSchemes = AuthenticationSchemes.Cookie)]
|
||||
public IActionResult Update(
|
||||
|
||||
Reference in New Issue
Block a user