Skip to content

Commit

Permalink
fix(specs): returns an response [skip-bc] (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4107

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 Nov 15, 2024
1 parent 8307e2d commit 1148a93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/client_search/lib/src/api/search_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ final class SearchClient implements ApiClient {
/// * [indexName] Name of the index on which to perform the operation.
/// * [deleteByParams]
/// * [requestOptions] additional request configuration.
Future<DeletedAtResponse> deleteBy({
Future<UpdatedAtResponse> deleteBy({
required String indexName,
required DeleteByParams deleteByParams,
RequestOptions? requestOptions,
Expand All @@ -692,9 +692,9 @@ final class SearchClient implements ApiClient {
request: request,
options: requestOptions,
);
return deserialize<DeletedAtResponse, DeletedAtResponse>(
return deserialize<UpdatedAtResponse, UpdatedAtResponse>(
response,
'DeletedAtResponse',
'UpdatedAtResponse',
growable: true,
);
}
Expand Down

0 comments on commit 1148a93

Please sign in to comment.