Update Jellyfin.Api/ModelBinders/CommaDelimitedArrayModelBinder.cs

Co-authored-by: Bond-009 <bond.009@outlook.com>
This commit is contained in:
Cody Robibero 2020-11-14 08:13:53 -07:00 committed by GitHub
parent cfefcd988a
commit 450cd614ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,7 @@ namespace Jellyfin.Api.ModelBinders
if (value != null)
{
var splitValues = value.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries);
var splitValues = value.Split(',', StringSplitOptions.RemoveEmptyEntries);
var typedValues = GetParsedResult(splitValues, elementType, converter);
bindingContext.Result = ModelBindingResult.Success(typedValues);
}