Revert "GreenField API: Configure Store Lightning Payment Method"

This reverts commit b40095f603.
This commit is contained in:
nicolas.dorier
2021-01-17 21:40:16 +09:00
parent 07de4af581
commit df52d01a1d
7 changed files with 6 additions and 737 deletions

View File

@@ -165,12 +165,12 @@ namespace BTCPayServer.Controllers.GreenField
});
}
return Ok(result);
return Ok(result);
}
[Authorize(Policy = Policies.CanModifyStoreSettings, AuthenticationSchemes = AuthenticationSchemes.Greenfield)]
[HttpDelete("~/api/v1/stores/{storeId}/payment-methods/onchain/{cryptoCode}")]
public async Task<IActionResult> RemoveOnChainPaymentMethod(
public async Task<ActionResult<OnChainPaymentMethodPreviewResultData>> RemoveOnChainPaymentMethod(
string cryptoCode,
int offset = 0, int amount = 10)
{