mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-11 01:35:22 +01:00
chore: remove repetitive words (#5842)
chore: remove repetitive words Signed-off-by: soonsouth <cuibuwei@163.com>
This commit is contained in:
parent
d0e11f1ec4
commit
78f169cd24
3 changed files with 3 additions and 3 deletions
|
@ -2338,7 +2338,7 @@ namespace BTCPayServer.Tests
|
||||||
Assert.Equal("updated", invoice.Metadata["itemCode"].Value<string>());
|
Assert.Equal("updated", invoice.Metadata["itemCode"].Value<string>());
|
||||||
Assert.Equal(15, ((JArray)invoice.Metadata["newstuff"]).Values<int>().Sum());
|
Assert.Equal(15, ((JArray)invoice.Metadata["newstuff"]).Values<int>().Sum());
|
||||||
|
|
||||||
//also test the the metadata actually got saved
|
//also test the metadata actually got saved
|
||||||
invoice = await client.GetInvoice(user.StoreId, invoice.Id);
|
invoice = await client.GetInvoice(user.StoreId, invoice.Id);
|
||||||
Assert.Equal(newOrderId, invoice.Metadata["orderId"].Value<string>());
|
Assert.Equal(newOrderId, invoice.Metadata["orderId"].Value<string>());
|
||||||
Assert.Equal("updated", invoice.Metadata["itemCode"].Value<string>());
|
Assert.Equal("updated", invoice.Metadata["itemCode"].Value<string>());
|
||||||
|
|
|
@ -326,7 +326,7 @@ namespace BTCPayServer.Controllers.Greenfield
|
||||||
if (result == null)
|
if (result == null)
|
||||||
{
|
{
|
||||||
return this.CreateAPIError(404, "trade-not-found",
|
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));
|
return Ok(ToModel(result, accountId, custodianAccount.CustodianCode));
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
* @param {any} assertedCredential
|
||||||
*/
|
*/
|
||||||
async function verifyAssertionWithServer(assertedCredential) {
|
async function verifyAssertionWithServer(assertedCredential) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue