mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
Revert "Fix SQLite bug: New invoice repeating"
This reverts commit 9eb3aad072.
This commit is contained in:
@@ -508,8 +508,7 @@ namespace BTCPayServer.Services.Invoices
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (await context.SaveChangesAsync().ConfigureAwait(false) == 0)
|
await context.SaveChangesAsync().ConfigureAwait(false);
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
catch(DbUpdateException) { return null; } // Already exists
|
catch(DbUpdateException) { return null; } // Already exists
|
||||||
AddToTextSearch(invoiceId, paymentData.GetSearchTerms());
|
AddToTextSearch(invoiceId, paymentData.GetSearchTerms());
|
||||||
|
|||||||
Reference in New Issue
Block a user