Skip to content

Commit 682a633

Browse files
authored
fix: missing ModelBinder for outputFormatParams in GetTableDataByPost
2 parents b901b5b + 4063b91 commit 682a633

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PxWeb/Controllers/Api2/TablesApiController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public override IActionResult GetTableDataByPost(
214214
[FromRoute(Name = "id"), Required] string id,
215215
[FromQuery(Name = "lang")] string? lang,
216216
[FromQuery(Name = "outputFormat")] OutputFormatType? outputFormat,
217-
[FromQuery(Name = "outputFormatParams")] List<OutputFormatParamType>? outputFormatParams,
217+
[FromQuery(Name = "outputFormatParams"), ModelBinder(typeof(OutputFormatParamsModelBinder))] List<OutputFormatParamType>? outputFormatParams,
218218
[FromBody] VariablesSelection? variablesSelection)
219219
{
220220
return GetData(id, lang, variablesSelection, outputFormat, outputFormatParams is null ? new List<OutputFormatParamType>() : outputFormatParams);

0 commit comments

Comments
 (0)