mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Rewording: Integrations become (store) plugins
We're keeping the `store-integrations-list` extension point name for backwards compatibility, otherwise I renamed all "integration" occurences in the views and also the routes. Note: We still refer to external software like WooCommerce, Drupal, Magento and such as "integrations", I think that distinction makes sense. Closes #3594.
This commit is contained in:
committed by
Andrew Camilleri
parent
f1029fceff
commit
2ae4501de6
@@ -474,7 +474,7 @@ namespace BTCPayServer
|
||||
|
||||
[Authorize(AuthenticationSchemes = AuthenticationSchemes.Cookie)]
|
||||
[Authorize(Policy = Policies.CanModifyStoreSettings, AuthenticationSchemes = AuthenticationSchemes.Cookie)]
|
||||
[HttpGet("~/stores/{storeId}/integrations/lightning-address")]
|
||||
[HttpGet("~/stores/{storeId}/plugins/lightning-address")]
|
||||
public async Task<IActionResult> EditLightningAddress(string storeId)
|
||||
{
|
||||
if (ControllerContext.HttpContext.GetStoreData().GetEnabledPaymentIds(_btcPayNetworkProvider)
|
||||
@@ -512,7 +512,7 @@ namespace BTCPayServer
|
||||
|
||||
[Authorize(AuthenticationSchemes = AuthenticationSchemes.Cookie)]
|
||||
[Authorize(Policy = Policies.CanModifyStoreSettings, AuthenticationSchemes = AuthenticationSchemes.Cookie)]
|
||||
[HttpPost("~/stores/{storeId}/integrations/lightning-address")]
|
||||
[HttpPost("~/stores/{storeId}/plugins/lightning-address")]
|
||||
public async Task<IActionResult> EditLightningAddress(string storeId, [FromForm] EditLightningAddressVM vm,
|
||||
string command, [FromServices] CurrencyNameTable currencyNameTable)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user