mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Refactor: Remove uneeded dependencies to PaymentMethodHandlerDictionary
This commit is contained in:
@@ -61,11 +61,6 @@ namespace BTCPayServer.Services.PaymentRequests
|
||||
string.IsNullOrEmpty(userId) ||
|
||||
(data.StoreData != null && data.StoreData.UserStores.Any(u => u.ApplicationUserId == userId)))
|
||||
.SingleOrDefaultAsync(x => x.Id == id, cancellationToken);
|
||||
if (result != null)
|
||||
{
|
||||
result.StoreData = _storeRepository.PrepareEntity(result.StoreData);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user