Refactor: Remove uneeded dependencies to PaymentMethodHandlerDictionary

This commit is contained in:
nicolas.dorier
2019-06-04 10:17:26 +09:00
parent 01787e2662
commit bea08e5cfd
6 changed files with 9 additions and 34 deletions

View File

@@ -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;
}
}