mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +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
|
||||
{
|
||||
if (await context.SaveChangesAsync().ConfigureAwait(false) == 0)
|
||||
return null;
|
||||
await context.SaveChangesAsync().ConfigureAwait(false);
|
||||
}
|
||||
catch(DbUpdateException) { return null; } // Already exists
|
||||
AddToTextSearch(invoiceId, paymentData.GetSearchTerms());
|
||||
|
||||
Reference in New Issue
Block a user