Updated based on review feedback
This commit is contained in:
parent
5c40ad0530
commit
cfefcd988a
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user