mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
Rename PutPointOfSaleApp to UpdatePointOfSaleApp
This commit is contained in:
committed by
Andrew Camilleri
parent
7f80674cf2
commit
63e11451ba
@@ -71,7 +71,7 @@ namespace BTCPayServer.Controllers.Greenfield
|
||||
|
||||
[HttpPut("~/api/v1/apps/pos/{appId}")]
|
||||
[Authorize(Policy = Policies.CanModifyStoreSettings, AuthenticationSchemes = AuthenticationSchemes.Greenfield)]
|
||||
public async Task<IActionResult> PutPointOfSaleApp(string appId, CreatePointOfSaleAppRequest request)
|
||||
public async Task<IActionResult> UpdatePointOfSaleApp(string appId, CreatePointOfSaleAppRequest request)
|
||||
{
|
||||
var app = await _appService.GetApp(appId, AppType.PointOfSale);
|
||||
if (app == null)
|
||||
|
||||
Reference in New Issue
Block a user