File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/scala/algoliasearch/api Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -546,7 +546,7 @@ class SearchClient(
546546 */
547547 def deleteBy (indexName : String , deleteByParams : DeleteByParams , requestOptions : Option [RequestOptions ] = None )(
548548 implicit ec : ExecutionContext
549- ): Future [DeletedAtResponse ] = Future {
549+ ): Future [UpdatedAtResponse ] = Future {
550550 requireNotNull(indexName, " Parameter `indexName` is required when calling `deleteBy`." )
551551 requireNotNull(deleteByParams, " Parameter `deleteByParams` is required when calling `deleteBy`." )
552552
@@ -556,7 +556,7 @@ class SearchClient(
556556 .withPath(s " /1/indexes/ ${escape(indexName)}/deleteByQuery " )
557557 .withBody(deleteByParams)
558558 .build()
559- execute[DeletedAtResponse ](request, requestOptions)
559+ execute[UpdatedAtResponse ](request, requestOptions)
560560 }
561561
562562 /** Deletes an index and all its settings. - Deleting an index doesn't delete its analytics data. - If you try to
You can’t perform that action at this time.
0 commit comments