mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 18:11:36 +01:00
Revert "Fix SQLite bug: New invoice repeating"
This reverts commit 9eb3aad072
.
This commit is contained in:
parent
a500a89138
commit
6d8acf54d6
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user