mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-09 00:54:28 +01:00
Greenfield: Deleting a store in the server, should delete only webhooks of this store
This commit is contained in:
@@ -379,6 +379,7 @@ namespace BTCPayServer.Services.Stores
|
||||
if (store == null)
|
||||
return false;
|
||||
var webhooks = await ctx.StoreWebhooks
|
||||
.Where(o => o.StoreId == storeId)
|
||||
.Select(o => o.Webhook)
|
||||
.ToArrayAsync();
|
||||
foreach (var w in webhooks)
|
||||
|
||||
Reference in New Issue
Block a user