Skip to content

Commit

Permalink
fix(specs): ingestion search endpoint (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#3487

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
  • Loading branch information
algolia-bot and shortcuts committed Aug 7, 2024
1 parent c16baba commit 50d36bc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion packages/ingestion/model/transformationSearch.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.

export type TransformationSearch = {
transformationsIDs: string[];
transformationIDs?: string[];
};
6 changes: 0 additions & 6 deletions packages/ingestion/src/ingestionClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2351,12 +2351,6 @@ export function createIngestionClient({
);
}

if (!transformationSearch.transformationsIDs) {
throw new Error(
'Parameter `transformationSearch.transformationsIDs` is required when calling `searchTransformations`.'
);
}

const requestPath = '/1/transformations/search';
const headers: Headers = {};
const queryParameters: QueryParameters = {};
Expand Down

0 comments on commit 50d36bc

Please sign in to comment.