mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Run dotnet format (#3244)
This commit is contained in:
@@ -328,10 +328,10 @@ namespace BTCPayServer.Services.Invoices
|
||||
if (existing.GetPaymentMethodDetails().GetPaymentDestination() != newDetails.GetPaymentDestination() && newDetails.Activated)
|
||||
{
|
||||
await context.AddressInvoices.AddAsync(new AddressInvoiceData()
|
||||
{
|
||||
InvoiceDataId = invoiceId,
|
||||
CreatedTime = DateTimeOffset.UtcNow
|
||||
}
|
||||
{
|
||||
InvoiceDataId = invoiceId,
|
||||
CreatedTime = DateTimeOffset.UtcNow
|
||||
}
|
||||
.Set(GetDestination(paymentMethod), paymentMethod.GetId()));
|
||||
await context.HistoricalAddressInvoices.AddAsync(new HistoricalAddressInvoiceData()
|
||||
{
|
||||
@@ -343,7 +343,7 @@ namespace BTCPayServer.Services.Invoices
|
||||
invoice.Blob = ToBytes(invoiceEntity, network);
|
||||
AddToTextSearch(context, invoice, paymentMethod.GetPaymentMethodDetails().GetPaymentDestination());
|
||||
await context.SaveChangesAsync();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -545,7 +545,7 @@ namespace BTCPayServer.Services.Invoices
|
||||
{
|
||||
var res = await GetInvoiceRaw(id, context, includeAddressData);
|
||||
return res == null ? null : ToEntity(res);
|
||||
}
|
||||
}
|
||||
}
|
||||
public async Task<InvoiceEntity[]> GetInvoices(string[] invoiceIds)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user