diff --git a/BTCPayServer.Tests/GreenfieldAPITests.cs b/BTCPayServer.Tests/GreenfieldAPITests.cs index 1e72f3f40..8e3e0e933 100644 --- a/BTCPayServer.Tests/GreenfieldAPITests.cs +++ b/BTCPayServer.Tests/GreenfieldAPITests.cs @@ -2338,7 +2338,7 @@ namespace BTCPayServer.Tests Assert.Equal("updated", invoice.Metadata["itemCode"].Value()); Assert.Equal(15, ((JArray)invoice.Metadata["newstuff"]).Values().Sum()); - //also test the the metadata actually got saved + //also test the metadata actually got saved invoice = await client.GetInvoice(user.StoreId, invoice.Id); Assert.Equal(newOrderId, invoice.Metadata["orderId"].Value()); Assert.Equal("updated", invoice.Metadata["itemCode"].Value()); diff --git a/BTCPayServer/Controllers/GreenField/GreenfieldCustodianAccountController.cs b/BTCPayServer/Controllers/GreenField/GreenfieldCustodianAccountController.cs index 79e4159eb..74939379e 100644 --- a/BTCPayServer/Controllers/GreenField/GreenfieldCustodianAccountController.cs +++ b/BTCPayServer/Controllers/GreenField/GreenfieldCustodianAccountController.cs @@ -326,7 +326,7 @@ namespace BTCPayServer.Controllers.Greenfield if (result == null) { return this.CreateAPIError(404, "trade-not-found", - $"Could not find the the trade with ID {tradeId} on {custodianAccount.Name}"); + $"Could not find the trade with ID {tradeId} on {custodianAccount.Name}"); } return Ok(ToModel(result, accountId, custodianAccount.CustodianCode)); } diff --git a/BTCPayServer/wwwroot/js/webauthn/login.js b/BTCPayServer/wwwroot/js/webauthn/login.js index a287ecb86..3ee87ab46 100644 --- a/BTCPayServer/wwwroot/js/webauthn/login.js +++ b/BTCPayServer/wwwroot/js/webauthn/login.js @@ -24,7 +24,7 @@ async function login(makeAssertionOptions) { } /** - * Sends the credential to the the FIDO2 server for assertion + * Sends the credential to the FIDO2 server for assertion * @param {any} assertedCredential */ async function verifyAssertionWithServer(assertedCredential) {