Skip to content

Commit 9547c9d

Browse files
algolia-botkai687
andcommitted
fix(specs): body is not required in multiple batch request (generated)
algolia/api-clients-automation#3454 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Kai Welke <[email protected]>
1 parent b1ca605 commit 9547c9d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

algoliasearch/Models/Search/MultipleBatchRequest.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,10 @@ public MultipleBatchRequest() { }
3131
/// Initializes a new instance of the MultipleBatchRequest class.
3232
/// </summary>
3333
/// <param name="action">action (required).</param>
34-
/// <param name="body">Operation arguments (varies with specified &#x60;action&#x60;). (required).</param>
3534
/// <param name="indexName">Index name (case-sensitive). (required).</param>
36-
public MultipleBatchRequest(Action? action, object body, string indexName)
35+
public MultipleBatchRequest(Action? action, string indexName)
3736
{
3837
Action = action;
39-
Body = body ?? throw new ArgumentNullException(nameof(body));
4038
IndexName = indexName ?? throw new ArgumentNullException(nameof(indexName));
4139
}
4240

0 commit comments

Comments
 (0)