code analysis and cleanup (#1411)
* cleanup scanner project * cleanup infrastructure projects * cleanup ffmpeg project * cleanup core project * cleanup app project * cleanup main project * update dependencies * code cleanup
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using ErsatzTV.Core.Domain;
|
||||
using System.Globalization;
|
||||
using ErsatzTV.Core.Domain;
|
||||
|
||||
namespace ErsatzTV.Infrastructure.Extensions;
|
||||
|
||||
@@ -9,5 +10,5 @@ public static class ConfigElementQueryableExtensions
|
||||
ConfigElementKey key) =>
|
||||
configElements
|
||||
.SelectOneAsync(ce => ce.Key, ce => ce.Key == key.Key)
|
||||
.MapT(ce => (T)Convert.ChangeType(ce.Value, typeof(T)));
|
||||
.MapT(ce => (T)Convert.ChangeType(ce.Value, typeof(T), CultureInfo.InvariantCulture));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user