[#67] OrganicService: Use any valid certificate
Test / Run tests (push) Successful in 2m6s

This commit is contained in:
lorenz.stechauner committed 2026-09-29 19:31:14 +02:00
1 parent aea7c39734
commit 5845693f17
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1566,7 +1566,7 @@ namespace Elwig.Windows {
if (IsCreating) {
try {
var certs = await OrganicService.GetTracesCertificates(m);
valid = certs.Length > 0 && certs[0].IsValidForWineProduction;
valid = certs.Any(c => c.IsValidForWineProduction);
} catch { }
}
if (valid)