diff --git a/BTCPayServer/Controllers/UIInvoiceController.UI.cs b/BTCPayServer/Controllers/UIInvoiceController.UI.cs index dffe791df..af1e6c66c 100644 --- a/BTCPayServer/Controllers/UIInvoiceController.UI.cs +++ b/BTCPayServer/Controllers/UIInvoiceController.UI.cs @@ -1026,11 +1026,11 @@ namespace BTCPayServer.Controllers return Json(model); } - [HttpGet("i/{invoiceId}/status/ws")] - [HttpGet("i/{invoiceId}/{paymentMethodId}/status/ws")] - [HttpGet("invoice/{invoiceId}/status/ws")] - [HttpGet("invoice/{invoiceId}/{paymentMethodId}/status")] - [HttpGet("invoice/status/ws")] + [Route("i/{invoiceId}/status/ws")] + [Route("i/{invoiceId}/{paymentMethodId}/status/ws")] + [Route("invoice/{invoiceId}/status/ws")] + [Route("invoice/{invoiceId}/{paymentMethodId}/status")] + [Route("invoice/status/ws")] public async Task GetStatusWebSocket(string invoiceId, CancellationToken cancellationToken) { if (!HttpContext.WebSockets.IsWebSocketRequest) diff --git a/BTCPayServer/Controllers/UIPullPaymentController.Boltcard.cs b/BTCPayServer/Controllers/UIPullPaymentController.Boltcard.cs index 2eb6395bc..602b878d6 100644 --- a/BTCPayServer/Controllers/UIPullPaymentController.Boltcard.cs +++ b/BTCPayServer/Controllers/UIPullPaymentController.Boltcard.cs @@ -46,7 +46,7 @@ namespace BTCPayServer.Controllers public record OtherIssuer() : CardOrigin; public record ThisIssuerReset(BoltcardRegistration Registration) : ThisIssuer(Registration); } - [HttpGet] + [Route("pull-payments/{pullPaymentId}/nfc/bridge")] public async Task VaultNFCBridgeConnection(string pullPaymentId) { diff --git a/BTCPayServer/Controllers/UIVaultController.cs b/BTCPayServer/Controllers/UIVaultController.cs index a81b6d639..9907616fb 100644 --- a/BTCPayServer/Controllers/UIVaultController.cs +++ b/BTCPayServer/Controllers/UIVaultController.cs @@ -34,8 +34,6 @@ namespace BTCPayServer.Controllers _authorizationService = authorizationService; } - - [HttpGet] [Route("{cryptoCode}/xpub")] [Route("wallets/{walletId}/xpub")] public async Task VaultBridgeConnection(string cryptoCode = null,