Updated based on review feedback

This commit is contained in:
crobibero 2020-11-14 07:07:09 -07:00
parent 5c40ad0530
commit cfefcd988a

View File

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