From 7d77b1fbe5f0e016a2848ca570d235b29bdcaab1 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sun, 23 Jul 2023 05:02:18 +0300 Subject: [PATCH] Trim spaces from a split list in GetValueConverter --- src/Readarr.Http/ClientSchema/SchemaBuilder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Readarr.Http/ClientSchema/SchemaBuilder.cs b/src/Readarr.Http/ClientSchema/SchemaBuilder.cs index bfcd9bbb3..665580bed 100644 --- a/src/Readarr.Http/ClientSchema/SchemaBuilder.cs +++ b/src/Readarr.Http/ClientSchema/SchemaBuilder.cs @@ -241,7 +241,7 @@ namespace Readarr.Http.ClientSchema } else { - return fieldValue.ToString().Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries); + return fieldValue.ToString().Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries).Select(v => v.Trim()); } }; }